[ aws . credentialbroker-control ]

get-credential-provider

Description

Retrieves a CredentialProvider of any provider type. Credential material is never returned: the response reports the Amazon Resource Name of the secret holding each credential, not its value. Nor does the response include the provider’s tags; call ListTagsForResource for those.

This is also the operation to poll while an asynchronous create, update, or delete settles: status reports the transition. Once a delete finishes the provider no longer exists, so this operation returns ResourceNotFoundException rather than a deleted status.

See also: AWS API Documentation

Synopsis

  get-credential-provider
--credential-provider-pool-identifier <value>
--credential-provider-identifier <value>
[--cli-input-json | --cli-input-yaml]
[--generate-cli-skeleton <value>]
[--debug]
[--endpoint-url <value>]
[--no-verify-ssl]
[--no-paginate]
[--output <value>]
[--query <value>]
[--profile <value>]
[--region <value>]
[--version <value>]
[--color <value>]
[--no-sign-request]
[--ca-bundle <value>]
[--cli-read-timeout <value>]
[--cli-connect-timeout <value>]
[--cli-binary-format <value>]
[--no-cli-pager]
[--cli-auto-prompt]
[--no-cli-auto-prompt]
[--cli-error-format <value>]
[--help]

Options

--credential-provider-pool-identifier (string) [required]

Identifies a credential provider pool. Accepts either the pool’s ARN or its service-generated ID; both refer to the same pool.

Constraints:

  • min: 1
  • max: 256
  • pattern: (arn:aws(?:-cn|-us-gov)?:credentialbroker:[a-z0-9-]+:[0-9]{12}:credentialproviderpool/[a-z0-9]{1,64}|[a-z0-9]{1,64})

--credential-provider-identifier (string) [required]

Identifies a credential provider. Accepts either the provider’s ARN or its service-generated ID; both refer to the same provider.

Constraints:

  • min: 1
  • max: 256
  • pattern: (arn:aws(?:-cn|-us-gov)?:credentialbroker:[a-z0-9-]+:[0-9]{12}:credentialproviderpool/[a-z0-9]{1,64}/credentialprovider/[a-z0-9]{1,64}|[a-z0-9]{1,64})

--cli-input-json | --cli-input-yaml (string) Reads arguments from the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, those values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally. This may not be specified along with --cli-input-yaml.

--generate-cli-skeleton (string) Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input, prints a sample input JSON that can be used as an argument for --cli-input-json. Similarly, if provided yaml-input it will print a sample input YAML that can be used with --cli-input-yaml. If provided with the value output, it validates the command inputs and returns a sample output JSON for that command. The generated JSON skeleton is not stable between versions of the AWS CLI and there are no backwards compatibility guarantees in the JSON skeleton generated.

Global Options

--debug (boolean)

Turn on debug logging.

--endpoint-url (string)

Override command’s default URL with the given URL.

--no-verify-ssl (boolean)

By default, the AWS CLI uses SSL when communicating with AWS services. For each SSL connection, the AWS CLI will verify SSL certificates. This option overrides the default behavior of verifying SSL certificates.

--no-paginate (boolean)

Disable automatic pagination. If automatic pagination is disabled, the AWS CLI will only make one call, for the first page of results.

--output (string)

The formatting style for command output.

  • json
  • text
  • table
  • yaml
  • yaml-stream
  • off

--query (string)

A JMESPath query to use in filtering the response data.

--profile (string)

Use a specific profile from your credential file.

--region (string)

The region to use. Overrides config/env settings.

--version (string)

Display the version of this tool.

--color (string)

Turn on/off color output.

  • on
  • off
  • auto

--no-sign-request (boolean)

Do not sign requests. Credentials will not be loaded if this argument is provided.

--ca-bundle (string)

The CA certificate bundle to use when verifying SSL certificates. Overrides config/env settings.

--cli-read-timeout (int)

The maximum socket read time in seconds. If the value is set to 0, the socket read will be blocking and not timeout. The default value is 60 seconds.

--cli-connect-timeout (int)

The maximum socket connect time in seconds. If the value is set to 0, the socket connect will be blocking and not timeout. The default value is 60 seconds.

--cli-binary-format (string)

The formatting style to be used for binary blobs. The default format is base64. The base64 format expects binary blobs to be provided as a base64 encoded string. The raw-in-base64-out format preserves compatibility with AWS CLI V1 behavior and binary values must be passed literally. When providing contents from a file that map to a binary blob fileb:// will always be treated as binary and use the file contents directly regardless of the cli-binary-format setting. When using file:// the file contents will need to properly formatted for the configured cli-binary-format.

  • base64
  • raw-in-base64-out

--no-cli-pager (boolean)

Disable cli pager for output.

--cli-auto-prompt (boolean)

Automatically prompt for CLI input parameters.

--no-cli-auto-prompt (boolean)

Disable automatically prompt for CLI input parameters.

--cli-error-format (string)

The formatting style for error output. By default, errors are displayed in enhanced format.

  • legacy
  • json
  • yaml
  • text
  • table
  • enhanced

--help (boolean)

Display help for the command/subcommand.

Output

credentialProviderArn -> (string)

Amazon Resource Name of a credential provider. Service-generated and stable for the life of the provider. The ARN embeds the parent pool, so it identifies the provider on its own without a separate pool identifier. Use it in IAM policies and anywhere an operation accepts a credential provider identifier.

Constraints:

  • pattern: arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b|aws-iso-e|aws-iso-f|aws-eusc):credentialbroker:[a-z0-9-]{1,64}:[0-9]{12}:credentialproviderpool/[a-z0-9]{1,64}/credentialprovider/[a-z0-9]{1,64}

credentialProviderId -> (string)

Service-generated identifier of a credential provider. Opaque and stable for the life of the provider, and unique within its parent pool. Accepted anywhere an operation takes a provider identifier, in place of the provider’s ARN.

Constraints:

  • min: 1
  • max: 64
  • pattern: [a-z0-9]{1,64}

credentialProviderPoolId -> (string)

Service-generated identifier of a credential provider pool. Opaque and stable for the life of the pool. Accepted anywhere an operation takes a pool identifier, in place of the pool’s ARN.

Constraints:

  • min: 1
  • max: 64
  • pattern: [a-z0-9]{1,64}

name -> (string)

The name of a credential provider. Must be unique among the providers that currently exist in the same pool, and can be changed after creation with UpdateCredentialProvider. A deleted provider’s name becomes available for reuse.

Constraints:

  • min: 1
  • max: 128
  • pattern: [a-zA-Z0-9_.-]{1,128}

providerType -> (string)

The kind of credential a provider obtains and the configuration it requires. Fixed when the provider is created and cannot be changed by a later update. New values may be added over time.

Possible values:

  • OAUTH
  • API_KEY

status -> (string)

Lifecycle status of a credential provider. Create, update, and delete are asynchronous: the operation returns immediately with a transitional status, and the provider reaches READY or FAILED on its own. Poll GetCredentialProvider to observe the transition. New values may be added over time, so treat an unrecognized value as “still settling” rather than an error.

Possible values:

  • CREATING
  • UPDATING
  • DELETING
  • READY
  • FAILED

providerConfiguration -> (tagged union structure)

Type-specific configuration. The member that is set matches providerType.

Note

This is a Tagged Union structure. Only one of the following top level keys can be set: oauthConfiguration, apiKeyConfiguration.

oauthConfiguration -> (structure)

Configuration of an OAuth credential provider.

allowedGrantTypes -> (list) [required]

The grant types this credential provider is allowed to use. A token request naming a grant that is not in this list is rejected.

Constraints:

  • min: 1
  • max: 4

(string)

An OAuth 2.0 grant type. A credential provider declares the grant types it is allowed to use when it is created, and a token request names the grant to use for that call. Requesting a grant the provider does not allow is rejected.

Possible values:

  • CLIENT_CREDENTIALS
  • TOKEN_EXCHANGE
  • JWT_AUTHORIZATION_GRANT
  • AUTHORIZATION_CODE

vendorConfigurationOutput -> (tagged union structure)

Resolved discovery and redacted client authentication details.

Note

This is a Tagged Union structure. Only one of the following top level keys can be set: githubConfiguration, googleConfiguration, cognitoConfiguration, microsoftConfiguration, atlassianConfiguration, oktaConfiguration, slackConfiguration, salesforceConfiguration, linkedinConfiguration, customConfiguration.

githubConfiguration -> (structure)

Configuration of a GitHub provider.

oauthDiscovery -> (tagged union structure)

How the authorization server’s OAuth endpoints are determined. Set exactly one member: give a discovery URL and let the service fetch the endpoints, or state the endpoints yourself. On reads, this reports the endpoints the service resolved and is using.

Note

This is a Tagged Union structure. Only one of the following top level keys can be set: discoveryUrl, authorizationServerMetadata.

discoveryUrl -> (string)

URL of the authorization server’s discovery document. The service fetches it and resolves the endpoints from it.

Constraints:

  • pattern: https://[^\s?#]+/\.well-known/(openid-configuration|oauth-authorization-server)(/[^\s?#]+)?

authorizationServerMetadata -> (structure)

The authorization server’s endpoints, supplied explicitly instead of discovered.

issuer -> (string) [required]

Identifier the authorization server uses for itself, as it appears in the tokens it issues.

Constraints:

  • min: 1
  • max: 2048
  • pattern: https://[^\s]+

tokenEndpoint -> (string) [required]

An HTTPS URL identifying or exposed by an authorization server, its issuer identifier, its authorization endpoint, or its token endpoint.

Constraints:

  • min: 1
  • max: 2048
  • pattern: https://[^\s]+

authorizationEndpoint -> (string)

Where the end user is sent to grant consent. Required in practice for a provider using AUTHORIZATION_CODE, which has no other source for it; a provider that resolves its endpoints from discoveryUrl instead takes it from the discovery document. Optional so the grants that never redirect a browser need not supply one.

Constraints:

  • min: 1
  • max: 2048
  • pattern: https://[^\s]+

clientAuthenticationConfiguration -> (structure)

The client credentials this provider uses to authenticate to its authorization server. The client secret is reported as an AWS Secrets Manager ARN, never as a value.

clientAuthenticationMethod -> (string)

How a credential provider authenticates itself to its authorization server on token requests. The authorization server decides which methods it accepts, so choose the one it is configured for.

Possible values:

  • CLIENT_SECRET_BASIC
  • CLIENT_SECRET_POST
  • NONE

clientId -> (string)

OAuth client identifier registered with the authorization server.

Constraints:

  • min: 1
  • max: 512

clientSecretArn -> (string)

The Amazon Resource Name (ARN) of the AWS Secrets Manager secret holding the client secret. Present when clientAuthenticationMethod is CLIENT_SECRET_BASIC or CLIENT_SECRET_POST; absent for a public client authenticating with NONE.

Constraints:

  • pattern: arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b|aws-iso-e|aws-iso-f|aws-eusc):secretsmanager:[a-zA-Z0-9-]{1,64}:[0-9]{12}:secret:[a-zA-Z0-9-_/+=.@!]+

clientSecretJsonKey -> (string)

Key to read from the secret’s JSON payload. The secret value must be a JSON object, and this key must be present in it; the value stored under the key is used as the credential.

Constraints:

  • min: 1
  • max: 128

clientSecretSource -> (string)

Whether the client secret is held in a secret the service owns or in one you own.

Possible values:

  • MANAGED
  • EXTERNAL

googleConfiguration -> (structure)

Configuration of a Google provider.

oauthDiscovery -> (tagged union structure)

How the authorization server’s OAuth endpoints are determined. Set exactly one member: give a discovery URL and let the service fetch the endpoints, or state the endpoints yourself. On reads, this reports the endpoints the service resolved and is using.

Note

This is a Tagged Union structure. Only one of the following top level keys can be set: discoveryUrl, authorizationServerMetadata.

discoveryUrl -> (string)

URL of the authorization server’s discovery document. The service fetches it and resolves the endpoints from it.

Constraints:

  • pattern: https://[^\s?#]+/\.well-known/(openid-configuration|oauth-authorization-server)(/[^\s?#]+)?

authorizationServerMetadata -> (structure)

The authorization server’s endpoints, supplied explicitly instead of discovered.

issuer -> (string) [required]

Identifier the authorization server uses for itself, as it appears in the tokens it issues.

Constraints:

  • min: 1
  • max: 2048
  • pattern: https://[^\s]+

tokenEndpoint -> (string) [required]

An HTTPS URL identifying or exposed by an authorization server, its issuer identifier, its authorization endpoint, or its token endpoint.

Constraints:

  • min: 1
  • max: 2048
  • pattern: https://[^\s]+

authorizationEndpoint -> (string)

Where the end user is sent to grant consent. Required in practice for a provider using AUTHORIZATION_CODE, which has no other source for it; a provider that resolves its endpoints from discoveryUrl instead takes it from the discovery document. Optional so the grants that never redirect a browser need not supply one.

Constraints:

  • min: 1
  • max: 2048
  • pattern: https://[^\s]+

clientAuthenticationConfiguration -> (structure)

The client credentials this provider uses to authenticate to its authorization server. The client secret is reported as an AWS Secrets Manager ARN, never as a value.

clientAuthenticationMethod -> (string)

How a credential provider authenticates itself to its authorization server on token requests. The authorization server decides which methods it accepts, so choose the one it is configured for.

Possible values:

  • CLIENT_SECRET_BASIC
  • CLIENT_SECRET_POST
  • NONE

clientId -> (string)

OAuth client identifier registered with the authorization server.

Constraints:

  • min: 1
  • max: 512

clientSecretArn -> (string)

The Amazon Resource Name (ARN) of the AWS Secrets Manager secret holding the client secret. Present when clientAuthenticationMethod is CLIENT_SECRET_BASIC or CLIENT_SECRET_POST; absent for a public client authenticating with NONE.

Constraints:

  • pattern: arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b|aws-iso-e|aws-iso-f|aws-eusc):secretsmanager:[a-zA-Z0-9-]{1,64}:[0-9]{12}:secret:[a-zA-Z0-9-_/+=.@!]+

clientSecretJsonKey -> (string)

Key to read from the secret’s JSON payload. The secret value must be a JSON object, and this key must be present in it; the value stored under the key is used as the credential.

Constraints:

  • min: 1
  • max: 128

clientSecretSource -> (string)

Whether the client secret is held in a secret the service owns or in one you own.

Possible values:

  • MANAGED
  • EXTERNAL

cognitoConfiguration -> (structure)

Configuration of an Amazon Cognito provider.

oauthDiscovery -> (tagged union structure)

How the authorization server’s OAuth endpoints are determined. Set exactly one member: give a discovery URL and let the service fetch the endpoints, or state the endpoints yourself. On reads, this reports the endpoints the service resolved and is using.

Note

This is a Tagged Union structure. Only one of the following top level keys can be set: discoveryUrl, authorizationServerMetadata.

discoveryUrl -> (string)

URL of the authorization server’s discovery document. The service fetches it and resolves the endpoints from it.

Constraints:

  • pattern: https://[^\s?#]+/\.well-known/(openid-configuration|oauth-authorization-server)(/[^\s?#]+)?

authorizationServerMetadata -> (structure)

The authorization server’s endpoints, supplied explicitly instead of discovered.

issuer -> (string) [required]

Identifier the authorization server uses for itself, as it appears in the tokens it issues.

Constraints:

  • min: 1
  • max: 2048
  • pattern: https://[^\s]+

tokenEndpoint -> (string) [required]

An HTTPS URL identifying or exposed by an authorization server, its issuer identifier, its authorization endpoint, or its token endpoint.

Constraints:

  • min: 1
  • max: 2048
  • pattern: https://[^\s]+

authorizationEndpoint -> (string)

Where the end user is sent to grant consent. Required in practice for a provider using AUTHORIZATION_CODE, which has no other source for it; a provider that resolves its endpoints from discoveryUrl instead takes it from the discovery document. Optional so the grants that never redirect a browser need not supply one.

Constraints:

  • min: 1
  • max: 2048
  • pattern: https://[^\s]+

clientAuthenticationConfiguration -> (structure)

The client credentials this provider uses to authenticate to its authorization server. The client secret is reported as an AWS Secrets Manager ARN, never as a value.

clientAuthenticationMethod -> (string)

How a credential provider authenticates itself to its authorization server on token requests. The authorization server decides which methods it accepts, so choose the one it is configured for.

Possible values:

  • CLIENT_SECRET_BASIC
  • CLIENT_SECRET_POST
  • NONE

clientId -> (string)

OAuth client identifier registered with the authorization server.

Constraints:

  • min: 1
  • max: 512

clientSecretArn -> (string)

The Amazon Resource Name (ARN) of the AWS Secrets Manager secret holding the client secret. Present when clientAuthenticationMethod is CLIENT_SECRET_BASIC or CLIENT_SECRET_POST; absent for a public client authenticating with NONE.

Constraints:

  • pattern: arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b|aws-iso-e|aws-iso-f|aws-eusc):secretsmanager:[a-zA-Z0-9-]{1,64}:[0-9]{12}:secret:[a-zA-Z0-9-_/+=.@!]+

clientSecretJsonKey -> (string)

Key to read from the secret’s JSON payload. The secret value must be a JSON object, and this key must be present in it; the value stored under the key is used as the credential.

Constraints:

  • min: 1
  • max: 128

clientSecretSource -> (string)

Whether the client secret is held in a secret the service owns or in one you own.

Possible values:

  • MANAGED
  • EXTERNAL

onBehalfOfTokenExchangeConfiguration -> (structure)

The provider’s on-behalf-of token exchange configuration as stored, with client secrets reported as Secrets Manager ARNs rather than values. Present only when the provider is configured for token exchange.

subjectTokenSource -> (tagged union structure) [required]

Where an on-behalf-of token exchange gets the subject token. The token identifying the user the exchanged token will represent. Set exactly one member.

Note

This is a Tagged Union structure. Only one of the following top level keys can be set: iamIdentityCenter, credentialProvider, credentialProviderSelf.

iamIdentityCenter -> (structure)

Use the identity in the caller’s IAM Identity Center session as the subject.

credentialProvider -> (string)

Use an end-user token stored by the credential provider named here as the subject.

Constraints:

  • pattern: arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b|aws-iso-e|aws-iso-f|aws-eusc):credentialbroker:[a-z0-9-]{1,64}:[0-9]{12}:credentialproviderpool/[a-z0-9]{1,64}/credentialprovider/[a-z0-9]{1,64}

credentialProviderSelf -> (structure)

Use this provider’s own stored end-user token as the subject, so that the same provider both obtains the user’s token and exchanges it. Requires the provider to allow the AUTHORIZATION_CODE grant.

tokenExchangeActorConfiguration -> (structure)

The actor presented alongside the subject in a token exchange, the party acting on the user’s behalf. Omit to send no actor token.

actorTokenContent -> (string) [required]

What the actor token in an on-behalf-of exchange asserts. The actor token identifies the party performing the exchange, as distinct from the user it acts for.

Possible values:

  • NONE
  • M2M

actorTokenScopes -> (list)

OAuth scopes to request. The authorization server decides which of them it grants, so the issued token may carry fewer.

Constraints:

  • min: 1
  • max: 50

(string)

Constraints:

  • min: 1
  • max: 128

tokenExchangeRequesterConfiguration -> (tagged union structure)

How the provider authenticates to the authorization server when making the token exchange request. Set exactly one member. This is separate from the provider’s main client, so an exchange can present a different client than the one used to obtain the subject token.

Note

This is a Tagged Union structure. Only one of the following top level keys can be set: requesterClientAuthenticationConfiguration, noClient.

requesterClientAuthenticationConfiguration -> (structure)

The client credentials used to authenticate the exchange request.

clientAuthenticationMethod -> (string)

How a credential provider authenticates itself to its authorization server on token requests. The authorization server decides which methods it accepts, so choose the one it is configured for.

Possible values:

  • CLIENT_SECRET_BASIC
  • CLIENT_SECRET_POST
  • NONE

clientId -> (string)

OAuth client identifier registered with the authorization server.

Constraints:

  • min: 1
  • max: 512

clientSecretArn -> (string)

The Amazon Resource Name (ARN) of the AWS Secrets Manager secret holding the client secret. Present when clientAuthenticationMethod is CLIENT_SECRET_BASIC or CLIENT_SECRET_POST; absent for a public client authenticating with NONE.

Constraints:

  • pattern: arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b|aws-iso-e|aws-iso-f|aws-eusc):secretsmanager:[a-zA-Z0-9-]{1,64}:[0-9]{12}:secret:[a-zA-Z0-9-_/+=.@!]+

clientSecretJsonKey -> (string)

Key to read from the secret’s JSON payload. The secret value must be a JSON object, and this key must be present in it; the value stored under the key is used as the credential.

Constraints:

  • min: 1
  • max: 128

clientSecretSource -> (string)

Whether the client secret is held in a secret the service owns or in one you own.

Possible values:

  • MANAGED
  • EXTERNAL

noClient -> (structure)

No client credentials are sent on the exchange request. Takes no parameters.

microsoftConfiguration -> (structure)

Configuration of a Microsoft Entra ID provider.

oauthDiscovery -> (tagged union structure)

How the authorization server’s OAuth endpoints are determined. Set exactly one member: give a discovery URL and let the service fetch the endpoints, or state the endpoints yourself. On reads, this reports the endpoints the service resolved and is using.

Note

This is a Tagged Union structure. Only one of the following top level keys can be set: discoveryUrl, authorizationServerMetadata.

discoveryUrl -> (string)

URL of the authorization server’s discovery document. The service fetches it and resolves the endpoints from it.

Constraints:

  • pattern: https://[^\s?#]+/\.well-known/(openid-configuration|oauth-authorization-server)(/[^\s?#]+)?

authorizationServerMetadata -> (structure)

The authorization server’s endpoints, supplied explicitly instead of discovered.

issuer -> (string) [required]

Identifier the authorization server uses for itself, as it appears in the tokens it issues.

Constraints:

  • min: 1
  • max: 2048
  • pattern: https://[^\s]+

tokenEndpoint -> (string) [required]

An HTTPS URL identifying or exposed by an authorization server, its issuer identifier, its authorization endpoint, or its token endpoint.

Constraints:

  • min: 1
  • max: 2048
  • pattern: https://[^\s]+

authorizationEndpoint -> (string)

Where the end user is sent to grant consent. Required in practice for a provider using AUTHORIZATION_CODE, which has no other source for it; a provider that resolves its endpoints from discoveryUrl instead takes it from the discovery document. Optional so the grants that never redirect a browser need not supply one.

Constraints:

  • min: 1
  • max: 2048
  • pattern: https://[^\s]+

clientAuthenticationConfiguration -> (structure)

The client credentials this provider uses to authenticate to its authorization server. The client secret is reported as an AWS Secrets Manager ARN, never as a value.

clientAuthenticationMethod -> (string)

How a credential provider authenticates itself to its authorization server on token requests. The authorization server decides which methods it accepts, so choose the one it is configured for.

Possible values:

  • CLIENT_SECRET_BASIC
  • CLIENT_SECRET_POST
  • NONE

clientId -> (string)

OAuth client identifier registered with the authorization server.

Constraints:

  • min: 1
  • max: 512

clientSecretArn -> (string)

The Amazon Resource Name (ARN) of the AWS Secrets Manager secret holding the client secret. Present when clientAuthenticationMethod is CLIENT_SECRET_BASIC or CLIENT_SECRET_POST; absent for a public client authenticating with NONE.

Constraints:

  • pattern: arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b|aws-iso-e|aws-iso-f|aws-eusc):secretsmanager:[a-zA-Z0-9-]{1,64}:[0-9]{12}:secret:[a-zA-Z0-9-_/+=.@!]+

clientSecretJsonKey -> (string)

Key to read from the secret’s JSON payload. The secret value must be a JSON object, and this key must be present in it; the value stored under the key is used as the credential.

Constraints:

  • min: 1
  • max: 128

clientSecretSource -> (string)

Whether the client secret is held in a secret the service owns or in one you own.

Possible values:

  • MANAGED
  • EXTERNAL

onBehalfOfTokenExchangeConfiguration -> (structure)

The provider’s on-behalf-of token exchange configuration as stored, with client secrets reported as Secrets Manager ARNs rather than values. Present only when the provider is configured for token exchange.

subjectTokenSource -> (tagged union structure) [required]

Where an on-behalf-of token exchange gets the subject token. The token identifying the user the exchanged token will represent. Set exactly one member.

Note

This is a Tagged Union structure. Only one of the following top level keys can be set: iamIdentityCenter, credentialProvider, credentialProviderSelf.

iamIdentityCenter -> (structure)

Use the identity in the caller’s IAM Identity Center session as the subject.

credentialProvider -> (string)

Use an end-user token stored by the credential provider named here as the subject.

Constraints:

  • pattern: arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b|aws-iso-e|aws-iso-f|aws-eusc):credentialbroker:[a-z0-9-]{1,64}:[0-9]{12}:credentialproviderpool/[a-z0-9]{1,64}/credentialprovider/[a-z0-9]{1,64}

credentialProviderSelf -> (structure)

Use this provider’s own stored end-user token as the subject, so that the same provider both obtains the user’s token and exchanges it. Requires the provider to allow the AUTHORIZATION_CODE grant.

tokenExchangeActorConfiguration -> (structure)

The actor presented alongside the subject in a token exchange, the party acting on the user’s behalf. Omit to send no actor token.

actorTokenContent -> (string) [required]

What the actor token in an on-behalf-of exchange asserts. The actor token identifies the party performing the exchange, as distinct from the user it acts for.

Possible values:

  • NONE
  • M2M

actorTokenScopes -> (list)

OAuth scopes to request. The authorization server decides which of them it grants, so the issued token may carry fewer.

Constraints:

  • min: 1
  • max: 50

(string)

Constraints:

  • min: 1
  • max: 128

tokenExchangeRequesterConfiguration -> (tagged union structure)

How the provider authenticates to the authorization server when making the token exchange request. Set exactly one member. This is separate from the provider’s main client, so an exchange can present a different client than the one used to obtain the subject token.

Note

This is a Tagged Union structure. Only one of the following top level keys can be set: requesterClientAuthenticationConfiguration, noClient.

requesterClientAuthenticationConfiguration -> (structure)

The client credentials used to authenticate the exchange request.

clientAuthenticationMethod -> (string)

How a credential provider authenticates itself to its authorization server on token requests. The authorization server decides which methods it accepts, so choose the one it is configured for.

Possible values:

  • CLIENT_SECRET_BASIC
  • CLIENT_SECRET_POST
  • NONE

clientId -> (string)

OAuth client identifier registered with the authorization server.

Constraints:

  • min: 1
  • max: 512

clientSecretArn -> (string)

The Amazon Resource Name (ARN) of the AWS Secrets Manager secret holding the client secret. Present when clientAuthenticationMethod is CLIENT_SECRET_BASIC or CLIENT_SECRET_POST; absent for a public client authenticating with NONE.

Constraints:

  • pattern: arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b|aws-iso-e|aws-iso-f|aws-eusc):secretsmanager:[a-zA-Z0-9-]{1,64}:[0-9]{12}:secret:[a-zA-Z0-9-_/+=.@!]+

clientSecretJsonKey -> (string)

Key to read from the secret’s JSON payload. The secret value must be a JSON object, and this key must be present in it; the value stored under the key is used as the credential.

Constraints:

  • min: 1
  • max: 128

clientSecretSource -> (string)

Whether the client secret is held in a secret the service owns or in one you own.

Possible values:

  • MANAGED
  • EXTERNAL

noClient -> (structure)

No client credentials are sent on the exchange request. Takes no parameters.

atlassianConfiguration -> (structure)

Configuration of an Atlassian provider.

oauthDiscovery -> (tagged union structure)

How the authorization server’s OAuth endpoints are determined. Set exactly one member: give a discovery URL and let the service fetch the endpoints, or state the endpoints yourself. On reads, this reports the endpoints the service resolved and is using.

Note

This is a Tagged Union structure. Only one of the following top level keys can be set: discoveryUrl, authorizationServerMetadata.

discoveryUrl -> (string)

URL of the authorization server’s discovery document. The service fetches it and resolves the endpoints from it.

Constraints:

  • pattern: https://[^\s?#]+/\.well-known/(openid-configuration|oauth-authorization-server)(/[^\s?#]+)?

authorizationServerMetadata -> (structure)

The authorization server’s endpoints, supplied explicitly instead of discovered.

issuer -> (string) [required]

Identifier the authorization server uses for itself, as it appears in the tokens it issues.

Constraints:

  • min: 1
  • max: 2048
  • pattern: https://[^\s]+

tokenEndpoint -> (string) [required]

An HTTPS URL identifying or exposed by an authorization server, its issuer identifier, its authorization endpoint, or its token endpoint.

Constraints:

  • min: 1
  • max: 2048
  • pattern: https://[^\s]+

authorizationEndpoint -> (string)

Where the end user is sent to grant consent. Required in practice for a provider using AUTHORIZATION_CODE, which has no other source for it; a provider that resolves its endpoints from discoveryUrl instead takes it from the discovery document. Optional so the grants that never redirect a browser need not supply one.

Constraints:

  • min: 1
  • max: 2048
  • pattern: https://[^\s]+

clientAuthenticationConfiguration -> (structure)

The client credentials this provider uses to authenticate to its authorization server. The client secret is reported as an AWS Secrets Manager ARN, never as a value.

clientAuthenticationMethod -> (string)

How a credential provider authenticates itself to its authorization server on token requests. The authorization server decides which methods it accepts, so choose the one it is configured for.

Possible values:

  • CLIENT_SECRET_BASIC
  • CLIENT_SECRET_POST
  • NONE

clientId -> (string)

OAuth client identifier registered with the authorization server.

Constraints:

  • min: 1
  • max: 512

clientSecretArn -> (string)

The Amazon Resource Name (ARN) of the AWS Secrets Manager secret holding the client secret. Present when clientAuthenticationMethod is CLIENT_SECRET_BASIC or CLIENT_SECRET_POST; absent for a public client authenticating with NONE.

Constraints:

  • pattern: arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b|aws-iso-e|aws-iso-f|aws-eusc):secretsmanager:[a-zA-Z0-9-]{1,64}:[0-9]{12}:secret:[a-zA-Z0-9-_/+=.@!]+

clientSecretJsonKey -> (string)

Key to read from the secret’s JSON payload. The secret value must be a JSON object, and this key must be present in it; the value stored under the key is used as the credential.

Constraints:

  • min: 1
  • max: 128

clientSecretSource -> (string)

Whether the client secret is held in a secret the service owns or in one you own.

Possible values:

  • MANAGED
  • EXTERNAL

oktaConfiguration -> (structure)

Configuration of an Okta provider.

oauthDiscovery -> (tagged union structure)

How the authorization server’s OAuth endpoints are determined. Set exactly one member: give a discovery URL and let the service fetch the endpoints, or state the endpoints yourself. On reads, this reports the endpoints the service resolved and is using.

Note

This is a Tagged Union structure. Only one of the following top level keys can be set: discoveryUrl, authorizationServerMetadata.

discoveryUrl -> (string)

URL of the authorization server’s discovery document. The service fetches it and resolves the endpoints from it.

Constraints:

  • pattern: https://[^\s?#]+/\.well-known/(openid-configuration|oauth-authorization-server)(/[^\s?#]+)?

authorizationServerMetadata -> (structure)

The authorization server’s endpoints, supplied explicitly instead of discovered.

issuer -> (string) [required]

Identifier the authorization server uses for itself, as it appears in the tokens it issues.

Constraints:

  • min: 1
  • max: 2048
  • pattern: https://[^\s]+

tokenEndpoint -> (string) [required]

An HTTPS URL identifying or exposed by an authorization server, its issuer identifier, its authorization endpoint, or its token endpoint.

Constraints:

  • min: 1
  • max: 2048
  • pattern: https://[^\s]+

authorizationEndpoint -> (string)

Where the end user is sent to grant consent. Required in practice for a provider using AUTHORIZATION_CODE, which has no other source for it; a provider that resolves its endpoints from discoveryUrl instead takes it from the discovery document. Optional so the grants that never redirect a browser need not supply one.

Constraints:

  • min: 1
  • max: 2048
  • pattern: https://[^\s]+

clientAuthenticationConfiguration -> (structure)

The client credentials this provider uses to authenticate to its authorization server. The client secret is reported as an AWS Secrets Manager ARN, never as a value.

clientAuthenticationMethod -> (string)

How a credential provider authenticates itself to its authorization server on token requests. The authorization server decides which methods it accepts, so choose the one it is configured for.

Possible values:

  • CLIENT_SECRET_BASIC
  • CLIENT_SECRET_POST
  • NONE

clientId -> (string)

OAuth client identifier registered with the authorization server.

Constraints:

  • min: 1
  • max: 512

clientSecretArn -> (string)

The Amazon Resource Name (ARN) of the AWS Secrets Manager secret holding the client secret. Present when clientAuthenticationMethod is CLIENT_SECRET_BASIC or CLIENT_SECRET_POST; absent for a public client authenticating with NONE.

Constraints:

  • pattern: arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b|aws-iso-e|aws-iso-f|aws-eusc):secretsmanager:[a-zA-Z0-9-]{1,64}:[0-9]{12}:secret:[a-zA-Z0-9-_/+=.@!]+

clientSecretJsonKey -> (string)

Key to read from the secret’s JSON payload. The secret value must be a JSON object, and this key must be present in it; the value stored under the key is used as the credential.

Constraints:

  • min: 1
  • max: 128

clientSecretSource -> (string)

Whether the client secret is held in a secret the service owns or in one you own.

Possible values:

  • MANAGED
  • EXTERNAL

onBehalfOfTokenExchangeConfiguration -> (structure)

The provider’s on-behalf-of token exchange configuration as stored, with client secrets reported as Secrets Manager ARNs rather than values. Present only when the provider is configured for token exchange.

subjectTokenSource -> (tagged union structure) [required]

Where an on-behalf-of token exchange gets the subject token. The token identifying the user the exchanged token will represent. Set exactly one member.

Note

This is a Tagged Union structure. Only one of the following top level keys can be set: iamIdentityCenter, credentialProvider, credentialProviderSelf.

iamIdentityCenter -> (structure)

Use the identity in the caller’s IAM Identity Center session as the subject.

credentialProvider -> (string)

Use an end-user token stored by the credential provider named here as the subject.

Constraints:

  • pattern: arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b|aws-iso-e|aws-iso-f|aws-eusc):credentialbroker:[a-z0-9-]{1,64}:[0-9]{12}:credentialproviderpool/[a-z0-9]{1,64}/credentialprovider/[a-z0-9]{1,64}

credentialProviderSelf -> (structure)

Use this provider’s own stored end-user token as the subject, so that the same provider both obtains the user’s token and exchanges it. Requires the provider to allow the AUTHORIZATION_CODE grant.

tokenExchangeActorConfiguration -> (structure)

The actor presented alongside the subject in a token exchange, the party acting on the user’s behalf. Omit to send no actor token.

actorTokenContent -> (string) [required]

What the actor token in an on-behalf-of exchange asserts. The actor token identifies the party performing the exchange, as distinct from the user it acts for.

Possible values:

  • NONE
  • M2M

actorTokenScopes -> (list)

OAuth scopes to request. The authorization server decides which of them it grants, so the issued token may carry fewer.

Constraints:

  • min: 1
  • max: 50

(string)

Constraints:

  • min: 1
  • max: 128

tokenExchangeRequesterConfiguration -> (tagged union structure)

How the provider authenticates to the authorization server when making the token exchange request. Set exactly one member. This is separate from the provider’s main client, so an exchange can present a different client than the one used to obtain the subject token.

Note

This is a Tagged Union structure. Only one of the following top level keys can be set: requesterClientAuthenticationConfiguration, noClient.

requesterClientAuthenticationConfiguration -> (structure)

The client credentials used to authenticate the exchange request.

clientAuthenticationMethod -> (string)

How a credential provider authenticates itself to its authorization server on token requests. The authorization server decides which methods it accepts, so choose the one it is configured for.

Possible values:

  • CLIENT_SECRET_BASIC
  • CLIENT_SECRET_POST
  • NONE

clientId -> (string)

OAuth client identifier registered with the authorization server.

Constraints:

  • min: 1
  • max: 512

clientSecretArn -> (string)

The Amazon Resource Name (ARN) of the AWS Secrets Manager secret holding the client secret. Present when clientAuthenticationMethod is CLIENT_SECRET_BASIC or CLIENT_SECRET_POST; absent for a public client authenticating with NONE.

Constraints:

  • pattern: arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b|aws-iso-e|aws-iso-f|aws-eusc):secretsmanager:[a-zA-Z0-9-]{1,64}:[0-9]{12}:secret:[a-zA-Z0-9-_/+=.@!]+

clientSecretJsonKey -> (string)

Key to read from the secret’s JSON payload. The secret value must be a JSON object, and this key must be present in it; the value stored under the key is used as the credential.

Constraints:

  • min: 1
  • max: 128

clientSecretSource -> (string)

Whether the client secret is held in a secret the service owns or in one you own.

Possible values:

  • MANAGED
  • EXTERNAL

noClient -> (structure)

No client credentials are sent on the exchange request. Takes no parameters.

slackConfiguration -> (structure)

Configuration of a Slack provider.

oauthDiscovery -> (tagged union structure)

How the authorization server’s OAuth endpoints are determined. Set exactly one member: give a discovery URL and let the service fetch the endpoints, or state the endpoints yourself. On reads, this reports the endpoints the service resolved and is using.

Note

This is a Tagged Union structure. Only one of the following top level keys can be set: discoveryUrl, authorizationServerMetadata.

discoveryUrl -> (string)

URL of the authorization server’s discovery document. The service fetches it and resolves the endpoints from it.

Constraints:

  • pattern: https://[^\s?#]+/\.well-known/(openid-configuration|oauth-authorization-server)(/[^\s?#]+)?

authorizationServerMetadata -> (structure)

The authorization server’s endpoints, supplied explicitly instead of discovered.

issuer -> (string) [required]

Identifier the authorization server uses for itself, as it appears in the tokens it issues.

Constraints:

  • min: 1
  • max: 2048
  • pattern: https://[^\s]+

tokenEndpoint -> (string) [required]

An HTTPS URL identifying or exposed by an authorization server, its issuer identifier, its authorization endpoint, or its token endpoint.

Constraints:

  • min: 1
  • max: 2048
  • pattern: https://[^\s]+

authorizationEndpoint -> (string)

Where the end user is sent to grant consent. Required in practice for a provider using AUTHORIZATION_CODE, which has no other source for it; a provider that resolves its endpoints from discoveryUrl instead takes it from the discovery document. Optional so the grants that never redirect a browser need not supply one.

Constraints:

  • min: 1
  • max: 2048
  • pattern: https://[^\s]+

clientAuthenticationConfiguration -> (structure)

The client credentials this provider uses to authenticate to its authorization server. The client secret is reported as an AWS Secrets Manager ARN, never as a value.

clientAuthenticationMethod -> (string)

How a credential provider authenticates itself to its authorization server on token requests. The authorization server decides which methods it accepts, so choose the one it is configured for.

Possible values:

  • CLIENT_SECRET_BASIC
  • CLIENT_SECRET_POST
  • NONE

clientId -> (string)

OAuth client identifier registered with the authorization server.

Constraints:

  • min: 1
  • max: 512

clientSecretArn -> (string)

The Amazon Resource Name (ARN) of the AWS Secrets Manager secret holding the client secret. Present when clientAuthenticationMethod is CLIENT_SECRET_BASIC or CLIENT_SECRET_POST; absent for a public client authenticating with NONE.

Constraints:

  • pattern: arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b|aws-iso-e|aws-iso-f|aws-eusc):secretsmanager:[a-zA-Z0-9-]{1,64}:[0-9]{12}:secret:[a-zA-Z0-9-_/+=.@!]+

clientSecretJsonKey -> (string)

Key to read from the secret’s JSON payload. The secret value must be a JSON object, and this key must be present in it; the value stored under the key is used as the credential.

Constraints:

  • min: 1
  • max: 128

clientSecretSource -> (string)

Whether the client secret is held in a secret the service owns or in one you own.

Possible values:

  • MANAGED
  • EXTERNAL

salesforceConfiguration -> (structure)

Configuration of a Salesforce provider.

oauthDiscovery -> (tagged union structure)

How the authorization server’s OAuth endpoints are determined. Set exactly one member: give a discovery URL and let the service fetch the endpoints, or state the endpoints yourself. On reads, this reports the endpoints the service resolved and is using.

Note

This is a Tagged Union structure. Only one of the following top level keys can be set: discoveryUrl, authorizationServerMetadata.

discoveryUrl -> (string)

URL of the authorization server’s discovery document. The service fetches it and resolves the endpoints from it.

Constraints:

  • pattern: https://[^\s?#]+/\.well-known/(openid-configuration|oauth-authorization-server)(/[^\s?#]+)?

authorizationServerMetadata -> (structure)

The authorization server’s endpoints, supplied explicitly instead of discovered.

issuer -> (string) [required]

Identifier the authorization server uses for itself, as it appears in the tokens it issues.

Constraints:

  • min: 1
  • max: 2048
  • pattern: https://[^\s]+

tokenEndpoint -> (string) [required]

An HTTPS URL identifying or exposed by an authorization server, its issuer identifier, its authorization endpoint, or its token endpoint.

Constraints:

  • min: 1
  • max: 2048
  • pattern: https://[^\s]+

authorizationEndpoint -> (string)

Where the end user is sent to grant consent. Required in practice for a provider using AUTHORIZATION_CODE, which has no other source for it; a provider that resolves its endpoints from discoveryUrl instead takes it from the discovery document. Optional so the grants that never redirect a browser need not supply one.

Constraints:

  • min: 1
  • max: 2048
  • pattern: https://[^\s]+

clientAuthenticationConfiguration -> (structure)

The client credentials this provider uses to authenticate to its authorization server. The client secret is reported as an AWS Secrets Manager ARN, never as a value.

clientAuthenticationMethod -> (string)

How a credential provider authenticates itself to its authorization server on token requests. The authorization server decides which methods it accepts, so choose the one it is configured for.

Possible values:

  • CLIENT_SECRET_BASIC
  • CLIENT_SECRET_POST
  • NONE

clientId -> (string)

OAuth client identifier registered with the authorization server.

Constraints:

  • min: 1
  • max: 512

clientSecretArn -> (string)

The Amazon Resource Name (ARN) of the AWS Secrets Manager secret holding the client secret. Present when clientAuthenticationMethod is CLIENT_SECRET_BASIC or CLIENT_SECRET_POST; absent for a public client authenticating with NONE.

Constraints:

  • pattern: arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b|aws-iso-e|aws-iso-f|aws-eusc):secretsmanager:[a-zA-Z0-9-]{1,64}:[0-9]{12}:secret:[a-zA-Z0-9-_/+=.@!]+

clientSecretJsonKey -> (string)

Key to read from the secret’s JSON payload. The secret value must be a JSON object, and this key must be present in it; the value stored under the key is used as the credential.

Constraints:

  • min: 1
  • max: 128

clientSecretSource -> (string)

Whether the client secret is held in a secret the service owns or in one you own.

Possible values:

  • MANAGED
  • EXTERNAL

onBehalfOfTokenExchangeConfiguration -> (structure)

The provider’s on-behalf-of token exchange configuration as stored, with client secrets reported as Secrets Manager ARNs rather than values. Present only when the provider is configured for token exchange.

subjectTokenSource -> (tagged union structure) [required]

Where an on-behalf-of token exchange gets the subject token. The token identifying the user the exchanged token will represent. Set exactly one member.

Note

This is a Tagged Union structure. Only one of the following top level keys can be set: iamIdentityCenter, credentialProvider, credentialProviderSelf.

iamIdentityCenter -> (structure)

Use the identity in the caller’s IAM Identity Center session as the subject.

credentialProvider -> (string)

Use an end-user token stored by the credential provider named here as the subject.

Constraints:

  • pattern: arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b|aws-iso-e|aws-iso-f|aws-eusc):credentialbroker:[a-z0-9-]{1,64}:[0-9]{12}:credentialproviderpool/[a-z0-9]{1,64}/credentialprovider/[a-z0-9]{1,64}

credentialProviderSelf -> (structure)

Use this provider’s own stored end-user token as the subject, so that the same provider both obtains the user’s token and exchanges it. Requires the provider to allow the AUTHORIZATION_CODE grant.

tokenExchangeActorConfiguration -> (structure)

The actor presented alongside the subject in a token exchange, the party acting on the user’s behalf. Omit to send no actor token.

actorTokenContent -> (string) [required]

What the actor token in an on-behalf-of exchange asserts. The actor token identifies the party performing the exchange, as distinct from the user it acts for.

Possible values:

  • NONE
  • M2M

actorTokenScopes -> (list)

OAuth scopes to request. The authorization server decides which of them it grants, so the issued token may carry fewer.

Constraints:

  • min: 1
  • max: 50

(string)

Constraints:

  • min: 1
  • max: 128

tokenExchangeRequesterConfiguration -> (tagged union structure)

How the provider authenticates to the authorization server when making the token exchange request. Set exactly one member. This is separate from the provider’s main client, so an exchange can present a different client than the one used to obtain the subject token.

Note

This is a Tagged Union structure. Only one of the following top level keys can be set: requesterClientAuthenticationConfiguration, noClient.

requesterClientAuthenticationConfiguration -> (structure)

The client credentials used to authenticate the exchange request.

clientAuthenticationMethod -> (string)

How a credential provider authenticates itself to its authorization server on token requests. The authorization server decides which methods it accepts, so choose the one it is configured for.

Possible values:

  • CLIENT_SECRET_BASIC
  • CLIENT_SECRET_POST
  • NONE

clientId -> (string)

OAuth client identifier registered with the authorization server.

Constraints:

  • min: 1
  • max: 512

clientSecretArn -> (string)

The Amazon Resource Name (ARN) of the AWS Secrets Manager secret holding the client secret. Present when clientAuthenticationMethod is CLIENT_SECRET_BASIC or CLIENT_SECRET_POST; absent for a public client authenticating with NONE.

Constraints:

  • pattern: arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b|aws-iso-e|aws-iso-f|aws-eusc):secretsmanager:[a-zA-Z0-9-]{1,64}:[0-9]{12}:secret:[a-zA-Z0-9-_/+=.@!]+

clientSecretJsonKey -> (string)

Key to read from the secret’s JSON payload. The secret value must be a JSON object, and this key must be present in it; the value stored under the key is used as the credential.

Constraints:

  • min: 1
  • max: 128

clientSecretSource -> (string)

Whether the client secret is held in a secret the service owns or in one you own.

Possible values:

  • MANAGED
  • EXTERNAL

noClient -> (structure)

No client credentials are sent on the exchange request. Takes no parameters.

linkedinConfiguration -> (structure)

Configuration of a LinkedIn provider.

oauthDiscovery -> (tagged union structure)

How the authorization server’s OAuth endpoints are determined. Set exactly one member: give a discovery URL and let the service fetch the endpoints, or state the endpoints yourself. On reads, this reports the endpoints the service resolved and is using.

Note

This is a Tagged Union structure. Only one of the following top level keys can be set: discoveryUrl, authorizationServerMetadata.

discoveryUrl -> (string)

URL of the authorization server’s discovery document. The service fetches it and resolves the endpoints from it.

Constraints:

  • pattern: https://[^\s?#]+/\.well-known/(openid-configuration|oauth-authorization-server)(/[^\s?#]+)?

authorizationServerMetadata -> (structure)

The authorization server’s endpoints, supplied explicitly instead of discovered.

issuer -> (string) [required]

Identifier the authorization server uses for itself, as it appears in the tokens it issues.

Constraints:

  • min: 1
  • max: 2048
  • pattern: https://[^\s]+

tokenEndpoint -> (string) [required]

An HTTPS URL identifying or exposed by an authorization server, its issuer identifier, its authorization endpoint, or its token endpoint.

Constraints:

  • min: 1
  • max: 2048
  • pattern: https://[^\s]+

authorizationEndpoint -> (string)

Where the end user is sent to grant consent. Required in practice for a provider using AUTHORIZATION_CODE, which has no other source for it; a provider that resolves its endpoints from discoveryUrl instead takes it from the discovery document. Optional so the grants that never redirect a browser need not supply one.

Constraints:

  • min: 1
  • max: 2048
  • pattern: https://[^\s]+

clientAuthenticationConfiguration -> (structure)

The client credentials this provider uses to authenticate to its authorization server. The client secret is reported as an AWS Secrets Manager ARN, never as a value.

clientAuthenticationMethod -> (string)

How a credential provider authenticates itself to its authorization server on token requests. The authorization server decides which methods it accepts, so choose the one it is configured for.

Possible values:

  • CLIENT_SECRET_BASIC
  • CLIENT_SECRET_POST
  • NONE

clientId -> (string)

OAuth client identifier registered with the authorization server.

Constraints:

  • min: 1
  • max: 512

clientSecretArn -> (string)

The Amazon Resource Name (ARN) of the AWS Secrets Manager secret holding the client secret. Present when clientAuthenticationMethod is CLIENT_SECRET_BASIC or CLIENT_SECRET_POST; absent for a public client authenticating with NONE.

Constraints:

  • pattern: arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b|aws-iso-e|aws-iso-f|aws-eusc):secretsmanager:[a-zA-Z0-9-]{1,64}:[0-9]{12}:secret:[a-zA-Z0-9-_/+=.@!]+

clientSecretJsonKey -> (string)

Key to read from the secret’s JSON payload. The secret value must be a JSON object, and this key must be present in it; the value stored under the key is used as the credential.

Constraints:

  • min: 1
  • max: 128

clientSecretSource -> (string)

Whether the client secret is held in a secret the service owns or in one you own.

Possible values:

  • MANAGED
  • EXTERNAL

customConfiguration -> (structure)

Configuration of a provider for any other OAuth authorization server.

oauthDiscovery -> (tagged union structure)

How the authorization server’s OAuth endpoints are determined. Set exactly one member: give a discovery URL and let the service fetch the endpoints, or state the endpoints yourself. On reads, this reports the endpoints the service resolved and is using.

Note

This is a Tagged Union structure. Only one of the following top level keys can be set: discoveryUrl, authorizationServerMetadata.

discoveryUrl -> (string)

URL of the authorization server’s discovery document. The service fetches it and resolves the endpoints from it.

Constraints:

  • pattern: https://[^\s?#]+/\.well-known/(openid-configuration|oauth-authorization-server)(/[^\s?#]+)?

authorizationServerMetadata -> (structure)

The authorization server’s endpoints, supplied explicitly instead of discovered.

issuer -> (string) [required]

Identifier the authorization server uses for itself, as it appears in the tokens it issues.

Constraints:

  • min: 1
  • max: 2048
  • pattern: https://[^\s]+

tokenEndpoint -> (string) [required]

An HTTPS URL identifying or exposed by an authorization server, its issuer identifier, its authorization endpoint, or its token endpoint.

Constraints:

  • min: 1
  • max: 2048
  • pattern: https://[^\s]+

authorizationEndpoint -> (string)

Where the end user is sent to grant consent. Required in practice for a provider using AUTHORIZATION_CODE, which has no other source for it; a provider that resolves its endpoints from discoveryUrl instead takes it from the discovery document. Optional so the grants that never redirect a browser need not supply one.

Constraints:

  • min: 1
  • max: 2048
  • pattern: https://[^\s]+

clientAuthenticationConfiguration -> (structure)

The client credentials this provider uses to authenticate to its authorization server. The client secret is reported as an AWS Secrets Manager ARN, never as a value.

clientAuthenticationMethod -> (string)

How a credential provider authenticates itself to its authorization server on token requests. The authorization server decides which methods it accepts, so choose the one it is configured for.

Possible values:

  • CLIENT_SECRET_BASIC
  • CLIENT_SECRET_POST
  • NONE

clientId -> (string)

OAuth client identifier registered with the authorization server.

Constraints:

  • min: 1
  • max: 512

clientSecretArn -> (string)

The Amazon Resource Name (ARN) of the AWS Secrets Manager secret holding the client secret. Present when clientAuthenticationMethod is CLIENT_SECRET_BASIC or CLIENT_SECRET_POST; absent for a public client authenticating with NONE.

Constraints:

  • pattern: arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b|aws-iso-e|aws-iso-f|aws-eusc):secretsmanager:[a-zA-Z0-9-]{1,64}:[0-9]{12}:secret:[a-zA-Z0-9-_/+=.@!]+

clientSecretJsonKey -> (string)

Key to read from the secret’s JSON payload. The secret value must be a JSON object, and this key must be present in it; the value stored under the key is used as the credential.

Constraints:

  • min: 1
  • max: 128

clientSecretSource -> (string)

Whether the client secret is held in a secret the service owns or in one you own.

Possible values:

  • MANAGED
  • EXTERNAL

onBehalfOfTokenExchangeConfiguration -> (structure)

The provider’s on-behalf-of token exchange configuration as stored, with client secrets reported as Secrets Manager ARNs rather than values. Present only when the provider is configured for token exchange.

subjectTokenSource -> (tagged union structure) [required]

Where an on-behalf-of token exchange gets the subject token. The token identifying the user the exchanged token will represent. Set exactly one member.

Note

This is a Tagged Union structure. Only one of the following top level keys can be set: iamIdentityCenter, credentialProvider, credentialProviderSelf.

iamIdentityCenter -> (structure)

Use the identity in the caller’s IAM Identity Center session as the subject.

credentialProvider -> (string)

Use an end-user token stored by the credential provider named here as the subject.

Constraints:

  • pattern: arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b|aws-iso-e|aws-iso-f|aws-eusc):credentialbroker:[a-z0-9-]{1,64}:[0-9]{12}:credentialproviderpool/[a-z0-9]{1,64}/credentialprovider/[a-z0-9]{1,64}

credentialProviderSelf -> (structure)

Use this provider’s own stored end-user token as the subject, so that the same provider both obtains the user’s token and exchanges it. Requires the provider to allow the AUTHORIZATION_CODE grant.

tokenExchangeActorConfiguration -> (structure)

The actor presented alongside the subject in a token exchange, the party acting on the user’s behalf. Omit to send no actor token.

actorTokenContent -> (string) [required]

What the actor token in an on-behalf-of exchange asserts. The actor token identifies the party performing the exchange, as distinct from the user it acts for.

Possible values:

  • NONE
  • M2M

actorTokenScopes -> (list)

OAuth scopes to request. The authorization server decides which of them it grants, so the issued token may carry fewer.

Constraints:

  • min: 1
  • max: 50

(string)

Constraints:

  • min: 1
  • max: 128

tokenExchangeRequesterConfiguration -> (tagged union structure)

How the provider authenticates to the authorization server when making the token exchange request. Set exactly one member. This is separate from the provider’s main client, so an exchange can present a different client than the one used to obtain the subject token.

Note

This is a Tagged Union structure. Only one of the following top level keys can be set: requesterClientAuthenticationConfiguration, noClient.

requesterClientAuthenticationConfiguration -> (structure)

The client credentials used to authenticate the exchange request.

clientAuthenticationMethod -> (string)

How a credential provider authenticates itself to its authorization server on token requests. The authorization server decides which methods it accepts, so choose the one it is configured for.

Possible values:

  • CLIENT_SECRET_BASIC
  • CLIENT_SECRET_POST
  • NONE

clientId -> (string)

OAuth client identifier registered with the authorization server.

Constraints:

  • min: 1
  • max: 512

clientSecretArn -> (string)

The Amazon Resource Name (ARN) of the AWS Secrets Manager secret holding the client secret. Present when clientAuthenticationMethod is CLIENT_SECRET_BASIC or CLIENT_SECRET_POST; absent for a public client authenticating with NONE.

Constraints:

  • pattern: arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b|aws-iso-e|aws-iso-f|aws-eusc):secretsmanager:[a-zA-Z0-9-]{1,64}:[0-9]{12}:secret:[a-zA-Z0-9-_/+=.@!]+

clientSecretJsonKey -> (string)

Key to read from the secret’s JSON payload. The secret value must be a JSON object, and this key must be present in it; the value stored under the key is used as the credential.

Constraints:

  • min: 1
  • max: 128

clientSecretSource -> (string)

Whether the client secret is held in a secret the service owns or in one you own.

Possible values:

  • MANAGED
  • EXTERNAL

noClient -> (structure)

No client credentials are sent on the exchange request. Takes no parameters.

encryptionConfiguration -> (tagged union structure)

How cached tokens are encrypted at rest. Set exactly one member: a customer-managed configuration must name a KMS key, and a service-managed configuration takes no parameters.

Note

This is a Tagged Union structure. Only one of the following top level keys can be set: customerManaged, serviceManaged.

customerManaged -> (structure)

Encrypt with a customer managed KMS key that you own.

kmsKeyIdentifier -> (string) [required]

Identifier of the customer-managed KMS key used to encrypt cached tokens. Accepts a key ARN (...:key/<id> ), an alias ARN (...:alias/<name> ), or a bare alias name (alias/<name> ). Any alias is dereferenced to its underlying key ARN via kms:DescribeKey at create/update time, and only the resolved key ARN is persisted and returned, a KMS alias is a mutable pointer, so pinning the key ARN keeps the configuration stable. A bare alias name resolves in the caller’s own account and Region; to reference a key in a different account (cross-account), supply a full key ARN or alias ARN so the account is explicit.

Constraints:

  • min: 1
  • max: 2048
  • pattern: (arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b|aws-iso-e|aws-iso-f|aws-eusc):kms:[a-zA-Z0-9-]+:[0-9]{12}:(key/[a-zA-Z0-9-]{36}|alias/[a-zA-Z0-9/_-]{1,250})|alias/[a-zA-Z0-9/_-]{1,250})

serviceManaged -> (structure)

Encrypt with a service-owned, AWS-managed key. Carries no parameters.

encryptionSource -> (string)

Whether encryptionConfiguration comes from the pool or the provider override.

Possible values:

  • INHERITED
  • PROVIDER_OVERRIDE

identityCenterApplicationArn -> (string)

Amazon Resource Name of the IAM Identity Center application created for a pool. Service-generated and read-only. It is created when an Identity Center instance is associated with the pool and deleted when the association is removed. Because the application belongs to the pool, every credential provider in that pool reports the same value.

Constraints:

  • pattern: arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b|aws-iso-e|aws-iso-f|aws-eusc):sso::[0-9]{12}:application/ssoins-[0-9a-f]{16}/apl-[0-9a-f]{16}

idcInstanceArn -> (string)

Amazon Resource Name of the IAM Identity Center instance to associate with a pool. The instance must already exist and be in the same Region as the pool.

Constraints:

  • pattern: arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b|aws-iso-e|aws-iso-f|aws-eusc):sso:::instance/ssoins-[0-9a-f]{16}

allowedSessionBindingUrls -> (list)

The return URLs this provider accepts at the end of a user consent flow, as configured at creation. Present only when the provider allows the AUTHORIZATION_CODE grant.

Constraints:

  • min: 1
  • max: 10

(string)

A return URL on your own domain that the end user’s browser is sent to once they finish granting consent. Register the URLs a provider accepts when you create or update it; a request that starts a consent session must then name one of them.

Must use https, except for a loopback host (localhost, 127.0.0.0/8, or [::1]), where http is also accepted. A port is optional and is matched exactly, so a client listening on a loopback port must register that port.

Constraints:

  • min: 1
  • max: 2048
  • pattern: https?://(\[[0-9A-Fa-f:]+\]|[^\s:/?#\[\]]+)(:[0-9]+)?(/[^\s]*)?

callbackUrls -> (list)

Redirect URIs to register with the authorization server as allowed callbacks for this provider. These are the URLs the authorization server redirects a user to after they complete the authorization flow. Present only when the provider allows the AUTHORIZATION_CODE grant.

Constraints:

  • min: 1
  • max: 10

(string)

Constraints:

  • min: 1
  • max: 2048
  • pattern: https://[^\s]+

apiKeyConfiguration -> (structure)

Configuration of an API key credential provider, with the key reported as a Secrets Manager ARN rather than a value.

apiKeySecretOutput -> (structure)

Secret pointer and source; never the API key value.

apiKeySecretArn -> (string) [required]

The Amazon Resource Name (ARN) of the AWS Secrets Manager secret holding the API key. Returned instead of the key itself, so reads never expose the value.

Constraints:

  • pattern: arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b|aws-iso-e|aws-iso-f|aws-eusc):secretsmanager:[a-zA-Z0-9-]{1,64}:[0-9]{12}:secret:[a-zA-Z0-9-_/+=.@!]+

apiKeySecretSource -> (string) [required]

Whether the secret holding the API key is one the service created and owns (MANAGED), or one you own in AWS Secrets Manager that the service reads (EXTERNAL).

Possible values:

  • MANAGED
  • EXTERNAL

apiKeySecretJsonKey -> (string)

The key read from the secret’s JSON payload to obtain the API key. Present only when the secret is one you own and holds a JSON object.

Constraints:

  • min: 1
  • max: 128

statusReason -> (string)

Explains why a resource is in a non-terminal status (e.g., FAILED, DELETING).

Constraints:

  • min: 0
  • max: 1024

createdAt -> (timestamp)

When the credential provider was created.

updatedAt -> (timestamp)

When the credential provider was last modified. Equal to createdAt until the first successful update.