Create the policy
In this tutorial, you will create a policy for configuring shared storage encryption with an Amazon KMS key.
Create a policy.
-
Go to the IAM Console: https://console.amazonaws.cn/iam/home
. -
Choose Policies.
-
Choose Create policy.
-
Choose the JSON tab and paste in the following policy. Make sure to replace all occurrences of
with your Amazon Web Services account ID and the key Amazon Resource Name (ARN) and Amazon Web Services Region with that of your own.123456789012
{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "kms:DescribeKey", "kms:ReEncrypt*", "kms:CreateGrant", "kms:Decrypt" ], "Resource": [ "arn:aws:kms:
region-id
:123456789012
:key/abcd1234-ef56-gh78-ij90-abcd1234efgh5678
" ] } ] } -
For this tutorial, name the policy
ParallelClusterKmsPolicy
, and then choose Create Policy. -
Make a note of the policy ARN. You need it to configure your cluster.