

# SalesforceOAuthConfigurationInput

Settings for a provider that obtains credentials from Salesforce. The organization's My Domain host determines its endpoints, so `instanceUrl` is required.

## Contents
<a name="API_SalesforceOAuthConfigurationInput_Contents"></a>

 ** instanceUrl **   <a name="credentialbrokercontrol-Type-SalesforceOAuthConfigurationInput-instanceUrl"></a>
Salesforce My Domain host (e.g. "mycompany.my.salesforce.com").  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 2048.  
Required: Yes

 ** clientAuthenticationConfiguration **   <a name="credentialbrokercontrol-Type-SalesforceOAuthConfigurationInput-clientAuthenticationConfiguration"></a>
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](API_ClientAuthenticationConfigurationInput.md) object  
Required: No

 ** onBehalfOfTokenExchangeConfiguration **   <a name="credentialbrokercontrol-Type-SalesforceOAuthConfigurationInput-onBehalfOfTokenExchangeConfiguration"></a>
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](API_OnBehalfOfTokenExchangeConfigurationInput.md) object  
Required: No

## See Also
<a name="API_SalesforceOAuthConfigurationInput_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/SalesforceOAuthConfigurationInput) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/credentialbroker-control-2026-09-30/SalesforceOAuthConfigurationInput) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/credentialbroker-control-2026-09-30/SalesforceOAuthConfigurationInput) 