

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::CloudExtensions::Profile ExtensionKey

A Signature Version 4 (SigV4) key that clients use to interact with an extension interface. An extension key has an access key ID and a secret key.

## Syntax
<a name="aws-properties-cloudextensions-profile-extensionkey-syntax"></a>

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

### JSON
<a name="aws-properties-cloudextensions-profile-extensionkey-syntax.json"></a>

```json
{
  "[AccessKeyId](#cfn-cloudextensions-profile-extensionkey-accesskeyid)" : {{String}},
  "[SecretKey](#cfn-cloudextensions-profile-extensionkey-secretkey)" : {{SecretKey}}
}
```

### YAML
<a name="aws-properties-cloudextensions-profile-extensionkey-syntax.yaml"></a>

```yaml
  [AccessKeyId](#cfn-cloudextensions-profile-extensionkey-accesskeyid): {{String}}
  [SecretKey](#cfn-cloudextensions-profile-extensionkey-secretkey): {{
    SecretKey}}
```

## Properties
<a name="aws-properties-cloudextensions-profile-extensionkey-properties"></a>

`AccessKeyId`  <a name="cfn-cloudextensions-profile-extensionkey-accesskeyid"></a>
The SigV4 access key ID, which the service generates. The ID is `CXEK` followed by 16 uppercase letters or digits. The service sets this value and ignores any value that you supply in a request. The access key ID stays the same when you update the profile.  
*Required*: No  
*Type*: String  
*Pattern*: `^CXEK[A-Z0-9]{16}$`  
*Update requires*: [No interruption](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`SecretKey`  <a name="cfn-cloudextensions-profile-extensionkey-secretkey"></a>
The SigV4 secret key, which you supply inline or by reference to an Amazon Secrets Manager secret. If you omit the secret key, the service generates a literal secret key. An update that doesn't supply a secret key rotates the key.  
*Required*: No  
*Type*: [SecretKey](aws-properties-cloudextensions-profile-secretkey.md)  
*Update requires*: [No interruption](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)