This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon CloudFormation User Guide.
AWS::CredentialBroker::CredentialProvider CognitoOAuthConfigurationInput
Settings for a provider that obtains credentials from an Amazon Cognito user pool. The user pool determines the endpoints, so UserPoolId is required.
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "ClientAuthenticationConfiguration" :ClientAuthenticationConfigurationInput, "CognitoRegion" :String, "OnBehalfOfTokenExchangeConfiguration" :OnBehalfOfTokenExchangeConfigurationInput, "UserPoolId" :String}
YAML
ClientAuthenticationConfiguration:ClientAuthenticationConfigurationInputCognitoRegion:StringOnBehalfOfTokenExchangeConfiguration:OnBehalfOfTokenExchangeConfigurationInputUserPoolId:String
Properties
ClientAuthenticationConfiguration-
The OAuth client credentials a provider uses to authenticate to its authorization server. Supply this when creating a provider; on update, omit it to leave the existing client unchanged. Any client secret given here is write-only and is never returned on reads.
Required: No
Type: ClientAuthenticationConfigurationInput
Update requires: No interruption
CognitoRegion-
Defaults to the call region when omitted.
Required: No
Type: String
Minimum:
1Maximum:
64Update requires: No interruption
OnBehalfOfTokenExchangeConfiguration-
Configures on-behalf-of token exchange (RFC 8693) for a credential provider, so the provider can trade a token identifying a user for a token scoped to another audience while preserving that user's identity. Supply this to enable the
TOKEN_EXCHANGEgrant; omit it on update to leave the existing exchange configuration unchanged.Required: No
Type: OnBehalfOfTokenExchangeConfigurationInput
Update requires: No interruption
UserPoolId-
Identifier of the Amazon Cognito user pool that issues the credentials.
Required: Yes
Type: String
Minimum:
1Maximum:
55Update requires: No interruption