You must be logged in to view saved presets
Configuration to create an AWS KMS Customer Master Key (CMK) with automatic key rotation enabled.
The following settings are available for configuration:
This template also provides the option to create a Replica Key based on an existing multi-region key. (Note: For CLI templates, you must select the region)
AWSTemplateFormatVersion: '2010-09-09'
Description: ''
Resources:
KmsKey:
Type: 'AWS::KMS::Key'
Properties:
EnableKeyRotation: true
MultiRegion: false
KeyPolicy:
Version: '2012-10-17'
Statement:
- Sid: Enable IAM User Permissions
Effect: Allow
Principal:
AWS:
'Fn::Join':
- ''
- - 'arn:aws:iam::'
- Ref: 'AWS::AccountId'
- ':root'
Action: 'kms:*'
Resource: '*'
Parameters: {}
Metadata: {}
Conditions: {}