View a markdown version of this page

ApiKeySecretInput - AWS IAM CredentialBroker Control Plane

ApiKeySecretInput

How the provider's API key is supplied. Set exactly one member: give the key value and let the service store it in a secret it owns, or point at an AWS Secrets Manager secret you already own. Either way, reads return only the ARN of the secret, never the key.

Contents

Important

This data type is a UNION, so only one of the following members can be specified when used or returned.

apiKey

The API key value. The service stores it in an AWS Secrets Manager secret that the service owns. Write-only: reads return only the ARN of the secret holding it.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 65536.

Required: No

apiKeySecretReference

An AWS Secrets Manager secret you own that holds the API key. The service reads the key from your secret rather than storing a copy of its own.

Type: SecretReference object

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: