---
title: "Get a set of AWS credentials"
method: GET
path: "/organization/{organizationId}/aws/credentials/{credentialsId}"
tags: ["Cloud Provider Credentials"]
---

# Get a set of AWS credentials

`GET /organization/{organizationId}/aws/credentials/{credentialsId}`

## Request

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

## Path parameters

- `organizationId` string, uuid, required
- `credentialsId` string, uuid, required

## Response `200`

Get a set of AWS credentials

- 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

## Other responses

- `400`: Bad request
- `401`: Access token is missing or invalid
- `403`: Access forbidden
- `404`: Resource not found

---

[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)
