{{ }} Substitute variables

Adjust the variable values according to your preference.

Policy Code

1{
2  "Version": "2012-10-17",
3  "Id": "Default KMS Policy",
4  "Statement": [
5    {
6      "Sid": "Enable IAM User Permissions",
7      "Effect": "Allow",
8      "Principal": {
9        "AWS": "arn:aws:iam::{{accountId}}:root"
10      },
11      "Action": "kms:*",
12      "Resource": "*"
13    }
14  ]
15}
DOC

Remember to use this as a base for any KMS policies, or you may lock yourself out of managing the key

    Get the IAM Pulse Check Newsletter

    We send out a periodic newsletter full of tips & tricks, contributions from the community, commentary on the industry, relevant social posts, and more.

    Checkout past issues for a sampling of the goods.