

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::CredentialProviderPool CustomerManagedEncryption

Encryption with a KMS key that you own and manage, rather than one owned by the service.

## Syntax
<a name="aws-properties-credentialbroker-credentialproviderpool-customermanagedencryption-syntax"></a>

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

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

```json
{
  "[KmsKeyIdentifier](#cfn-credentialbroker-credentialproviderpool-customermanagedencryption-kmskeyidentifier)" : {{String}}
}
```

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

```yaml
  [KmsKeyIdentifier](#cfn-credentialbroker-credentialproviderpool-customermanagedencryption-kmskeyidentifier): {{String}}
```

## Properties
<a name="aws-properties-credentialbroker-credentialproviderpool-customermanagedencryption-properties"></a>

`KmsKeyIdentifier`  <a name="cfn-credentialbroker-credentialproviderpool-customermanagedencryption-kmskeyidentifier"></a>
The ARN of the customer managed KMS key used to encrypt cached tokens (`arn:aws:kms:<region>:<account>:key/<id>`). A key ID, alias name or alias ARN is not accepted: the service stores and returns the key ARN, so an alias would show as drift. To use a key in a different account, give that key's ARN.  
*Required*: Yes  
*Type*: String  
*Pattern*: `^arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b|aws-iso-e|aws-iso-f|aws-eusc):kms:[a-zA-Z0-9-]+:[0-9]{12}:key/[a-zA-Z0-9-]{36}$`  
*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)