View a markdown version of this page

OAuthCredentialProviderConfigurationInput - AWS IAM CredentialBroker Control Plane

OAuthCredentialProviderConfigurationInput

OAuth credential provider input configuration. On create, allowedGrantTypes and vendorConfigurationInput are required (enforced by the service). On update every field is optional; omit a field to leave it unchanged, and the supplied vendor member must match the provider's existing vendor type.

Contents

allowedGrantTypes

The grant types this provider is allowed to use. Required on create; omit on update to leave unchanged.

Type: Array of strings

Array Members: Minimum number of 1 item. Maximum number of 4 items.

Valid Values: CLIENT_CREDENTIALS | TOKEN_EXCHANGE | JWT_AUTHORIZATION_GRANT | AUTHORIZATION_CODE

Required: No

allowedSessionBindingUrls

Return URLs this provider accepts at the end of a user consent flow. Required when allowedGrantTypes includes AUTHORIZATION_CODE.

Type: Array of strings

Array Members: Minimum number of 1 item. Maximum number of 10 items.

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

Pattern: https?://(\[[0-9A-Fa-f:]+\]|[^\s:/?#\[\]]+)(:[0-9]+)?(/[^\s]*)?

Required: No

providerEncryptionConfiguration

Overrides the pool-level customer-managed KMS key. Omit to leave the current encryption configuration unchanged.

Type: ProviderEncryptionConfiguration object

Note: This object is a Union. Only one member of this object can be specified or returned.

Required: No

vendorConfigurationInput

Vendor-specific OAuth configuration (GitHub, Google, custom, and others). Required on create; omit on update to leave unchanged.

Type: OAuthVendorConfigurationInput object

Note: This object is a Union. Only one member of this object can be specified or returned.

Required: No

See Also

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