---
title: "POST /identities/GetApiKeyCredentialProvider"
method: POST
path: "/identities/GetApiKeyCredentialProvider"
---

# POST /identities/GetApiKeyCredentialProvider

`POST /identities/GetApiKeyCredentialProvider`

Retrieves information about an API key credential provider.

## Request body

- object
  - `name` string, required — The name of the API key credential provider to retrieve.

## Response `200`

Success

- GetApiKeyCredentialProviderResponse
  - `apiKeySecretArn` object, required — The Amazon Resource Name (ARN) of the API key secret in Amazon Web Services Secrets Manager.
    - `secretArn` string, required — The Amazon Resource Name (ARN) of the secret in Amazon Web Services Secrets Manager.
  - `apiKeySecretJsonKey` string — The JSON key used to extract the API key value from the Amazon Web Services Secrets Manager secret.
  - `apiKeySecretSource` 'MANAGED' | 'EXTERNAL' — The source type of the API key secret. Either <code>MANAGED</code> if the secret is managed by the service, or <code>EXTERNAL</code> if managed by the user in Amazon Web Services Secrets Manager.
  - `name` string, required — The name of the API key credential provider.
  - `credentialProviderArn` string, required — The Amazon Resource Name (ARN) of the API key credential provider.
  - `createdTime` string, date-time, required — The timestamp when the API key credential provider was created.
  - `lastUpdatedTime` string, date-time, required — The timestamp when the API key credential provider was last updated.

## Other responses

- `480` — UnauthorizedException
- `481` — ValidationException
- `482` — AccessDeniedException
- `483` — DecryptionFailure
- `484` — ResourceNotFoundException
- `485` — ThrottlingException
- `486` — InternalServerException

---

[API](https://skmtc.net/aws/apis/bedrock-agentcore-control.md) · [All operations](https://skmtc.net/aws/apis/bedrock-agentcore-control/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/bedrock-agentcore-control/revisions/0ebde766792b/schema)
