

# ClientSecretInput

How the provider's OAuth client secret is supplied. Set exactly one member: give the secret value and let the service store it, or point at a Secrets Manager secret you already own. Either way, reads return only the ARN of the secret, never the value.

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

**Important**  
This data type is a UNION, so only one of the following members can be specified when used or returned.

 ** clientSecret **   <a name="credentialbrokercontrol-Type-ClientSecretInput-clientSecret"></a>
The client secret value. The service stores it in a Secrets Manager secret that it owns.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 2048.  
Required: No

 ** clientSecretReference **   <a name="credentialbrokercontrol-Type-ClientSecretInput-clientSecretReference"></a>
A Secrets Manager secret you own that holds the client secret.  
Type: [SecretReference](API_SecretReference.md) object  
Required: No

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