View a markdown version of this page

CognitoOAuthConfigurationInput - AWS IAM CredentialBroker Control Plane

CognitoOAuthConfigurationInput

Settings for a provider that obtains credentials from an Amazon Cognito user pool. The user pool determines the endpoints, so userPoolId is required.

Contents

userPoolId

Identifier of the Amazon Cognito user pool that issues the credentials.

Type: String

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

Required: Yes

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.

Type: ClientAuthenticationConfigurationInput object

Required: No

cognitoRegion

Defaults to the call region when omitted.

Type: String

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

Required: No

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_EXCHANGE grant; omit it on update to leave the existing exchange configuration unchanged.

Type: OnBehalfOfTokenExchangeConfigurationInput object

Required: No

See Also

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