> **Experimental**
>
> `@aws-cdk/aws-bedrock-agentcore-alpha` is an [**experimental**](/stability) (alpha) package: its API may change in any release, without a major version bump.
# ApiKeyCredentialProviderAttributes

Attributes for importing an existing API key credential provider.

- Source: [`lib/identity/api-key-credential-provider.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0-alpha.0/packages/@aws-cdk/aws-bedrock-agentcore-alpha/lib/identity/api-key-credential-provider.ts#L159)

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as bedrock_agentcore_alpha from '@aws-cdk/aws-bedrock-agentcore-alpha';
const apiKeyCredentialProviderAttributes: bedrock_agentcore_alpha.ApiKeyCredentialProviderAttributes = {
  credentialProviderArn: 'credentialProviderArn',

  // the properties below are optional
  apiKeySecretArn: 'apiKeySecretArn',
  createdTime: 'createdTime',
  lastUpdatedTime: 'lastUpdatedTime',
};
```

## Properties

- `apiKeySecretArn`: string — ARN of the Secrets Manager secret for the API key, if known.

  **Default:** not set; required for {@link ApiKeyCredentialProvider.bindForGatewayApiKeyTarget } on imported providers

- `createdTime`: string — Resource creation time.

  **Default:** not set

- `credentialProviderArn`: string (required) — ARN of the credential provider.

- `lastUpdatedTime`: string — Resource last-updated time.

  **Default:** not set
