SubjectTokenSourceConfiguration
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.
Contents
This data type is a UNION, so only one of the following members can be specified when used or returned.
- credentialProvider
-
Use an end-user token stored by the credential provider named here as the subject.
Type: String
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}Required: No
- credentialProviderSelf
-
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_CODEgrant.Type: CredentialBrokerSelfSubjectTokenSource object
Required: No
- iamIdentityCenter
-
Use the identity in the caller's IAM Identity Center session as the subject.
Type: Structure
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: