

This is the new *Amazon CloudFormation Template Reference Guide*. Please update your bookmarks and links. For help getting started with CloudFormation, see the [Amazon CloudFormation User Guide](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/Welcome.html).

# AWS::CredentialBroker::CredentialProvider 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.

## Syntax
<a name="aws-properties-credentialbroker-credentialprovider-clientsecretinput-syntax"></a>

To declare this entity in your Amazon CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-credentialbroker-credentialprovider-clientsecretinput-syntax.json"></a>

```json
{
  "[ClientSecret](#cfn-credentialbroker-credentialprovider-clientsecretinput-clientsecret)" : {{String}},
  "[ClientSecretReference](#cfn-credentialbroker-credentialprovider-clientsecretinput-clientsecretreference)" : {{SecretReference}}
}
```

### YAML
<a name="aws-properties-credentialbroker-credentialprovider-clientsecretinput-syntax.yaml"></a>

```yaml
  [ClientSecret](#cfn-credentialbroker-credentialprovider-clientsecretinput-clientsecret): {{String}}
  [ClientSecretReference](#cfn-credentialbroker-credentialprovider-clientsecretinput-clientsecretreference): {{
    SecretReference}}
```

## Properties
<a name="aws-properties-credentialbroker-credentialprovider-clientsecretinput-properties"></a>

`ClientSecret`  <a name="cfn-credentialbroker-credentialprovider-clientsecretinput-clientsecret"></a>
The client secret value. The service stores it in a Secrets Manager secret that it owns.  
*Required*: No  
*Type*: String  
*Minimum*: `1`  
*Maximum*: `2048`  
*Update requires*: [No interruption](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`ClientSecretReference`  <a name="cfn-credentialbroker-credentialprovider-clientsecretinput-clientsecretreference"></a>
A Secrets Manager secret you own that holds the client secret.  
*Required*: No  
*Type*: [SecretReference](aws-properties-credentialbroker-credentialprovider-secretreference.md)  
*Update requires*: [No interruption](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)