---
title: "List credentials of an organization and their associated clusters"
method: GET
path: "/organization/{organizationId}/credentials"
tags: ["Organization Main Calls"]
---

# List credentials of an organization and their associated clusters

`GET /organization/{organizationId}/credentials`

## Request

- Base URL: `https://api.qovery.com`
- URL: `https://api.qovery.com/organization/{organizationId}/credentials`
- Auth: one of:
  - API key in header `Authorization`
  - HTTP bearer
- TypeScript: <https://skmtc.dev/qovery/apis/qovery-api/docs/organization/:organizationId/credentials/get.ts> (a function with typed inputs; its response is checked against the schema)

List credentials of an organization and their associated clusters

## Response `200`

OK

- OrganizationCrendentialsResponseList
  - `results` object[]
    - `credential` union
      - AwsStaticClusterCredentials
        - `id` string, uuid, required
        - `name` string, required
        - `access_key_id` string, required
        - `object_type` 'AWS', required
      - ScalewayClusterCredentials
        - `id` string, uuid, required
        - `name` string, required
        - `scaleway_access_key` string, required
        - `object_type` 'SCW', required
        - `scaleway_project_id` string, required
        - `scaleway_organization_id` string, required
      - GenericClusterCredentials
        - `id` string, uuid, required
        - `name` string, required
        - `object_type` 'OTHER', required
      - AwsRoleClusterCredentials
        - `id` string, uuid, required
        - `name` string, required
        - `role_arn` string, required
        - `object_type` 'AWS_ROLE', required
      - AzureStaticClusterCredentials
        - `id` string, uuid, required
        - `name` string, required
        - `azure_subscription_id` string, required
        - `azure_tenant_id` string, required
        - `object_type` 'AZURE', required
        - `azure_application_id` string, required
        - `azure_application_object_id` string, required
      - GcpStaticClusterCredentials
        - `id` string, uuid, required
        - `name` string, required
        - `object_type` 'GCP', required
    - `clusters` CredentialCluster[]
      - `id` string, uuid
      - `name` string
      - `cloud_provider` 'AWS' | 'SCW' | 'GCP' | 'ON_PREMISE' | 'AZURE'

## Other responses

- `400`: Bad Request

---

[API](https://skmtc.dev/qovery/apis/qovery-api.md) - [All operations](https://skmtc.dev/qovery/apis/qovery-api/llms.txt) - [OpenAPI document](https://skmtc.dev/qovery/apis/qovery-api/revisions/93c4960a44ba?raw)
