

# OnBehalfOfTokenExchangeConfigurationInput

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.

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

 ** subjectTokenSource **   <a name="credentialbrokercontrol-Type-OnBehalfOfTokenExchangeConfigurationInput-subjectTokenSource"></a>
Where an on-behalf-of token exchange gets the subject token. The token identifying the user the exchanged token will represent. Set exactly one member.  
Type: [SubjectTokenSourceConfiguration](API_SubjectTokenSourceConfiguration.md) object  
 **Note: **This object is a Union. Only one member of this object can be specified or returned.  
Required: Yes

 ** tokenExchangeActorConfiguration **   <a name="credentialbrokercontrol-Type-OnBehalfOfTokenExchangeConfigurationInput-tokenExchangeActorConfiguration"></a>
The actor presented alongside the subject in a token exchange, the party acting on the user's behalf. Omit to send no actor token.  
Type: [TokenExchangeActorConfigurationInput](API_TokenExchangeActorConfigurationInput.md) object  
Required: No

 ** tokenExchangeRequesterConfiguration **   <a name="credentialbrokercontrol-Type-OnBehalfOfTokenExchangeConfigurationInput-tokenExchangeRequesterConfiguration"></a>
How the provider authenticates to the authorization server when making the token exchange request. Set exactly one member. This is separate from the provider's main client, so an exchange can present a different client than the one used to obtain the subject token.  
Type: [TokenExchangeRequesterConfigurationInput](API_TokenExchangeRequesterConfigurationInput.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_OnBehalfOfTokenExchangeConfigurationInput_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/OnBehalfOfTokenExchangeConfigurationInput) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/credentialbroker-control-2026-09-30/OnBehalfOfTokenExchangeConfigurationInput) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/credentialbroker-control-2026-09-30/OnBehalfOfTokenExchangeConfigurationInput) 