

# 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
<a name="API_OAuthCredentialProviderConfigurationInput_Contents"></a>

 ** allowedGrantTypes **   <a name="credentialbrokercontrol-Type-OAuthCredentialProviderConfigurationInput-allowedGrantTypes"></a>
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 **   <a name="credentialbrokercontrol-Type-OAuthCredentialProviderConfigurationInput-allowedSessionBindingUrls"></a>
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 **   <a name="credentialbrokercontrol-Type-OAuthCredentialProviderConfigurationInput-providerEncryptionConfiguration"></a>
Overrides the pool-level customer-managed KMS key. Omit to leave the current encryption configuration unchanged.  
Type: [ProviderEncryptionConfiguration](API_ProviderEncryptionConfiguration.md) object  
 **Note: **This object is a Union. Only one member of this object can be specified or returned.  
Required: No

 ** vendorConfigurationInput **   <a name="credentialbrokercontrol-Type-OAuthCredentialProviderConfigurationInput-vendorConfigurationInput"></a>
Vendor-specific OAuth configuration (GitHub, Google, custom, and others). Required on create; omit on update to leave unchanged.  
Type: [OAuthVendorConfigurationInput](API_OAuthVendorConfigurationInput.md) object  
 **Note: **This object is a Union. Only one member of this object can be specified or returned.  
Required: No

## See Also
<a name="API_OAuthCredentialProviderConfigurationInput_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/credentialbroker-control-2026-09-30/OAuthCredentialProviderConfigurationInput) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/credentialbroker-control-2026-09-30/OAuthCredentialProviderConfigurationInput) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/credentialbroker-control-2026-09-30/OAuthCredentialProviderConfigurationInput) 