Sha256: 215002c924b1ab5e30487aba74748797b031f45146bf5bdab35d8a2ebaaae691

Contents?: true

Size: 1.39 KB

Versions: 23

Compression:

Stored size: 1.39 KB

Contents

AWS::KMS::Key:
  Properties: 
    Description: "\"Key Description\""
    Enabled: true
    EnableKeyRotation: true
    KeyPolicy: |
        { 
          "Id"            => "SharedKeyPolicy",
          "Version"       => "2012-10-17",
          "Statement"     => [
            {
              "Sid"       => "Allow access for Admin",
              "Effect"    => "Allow",
              "Principal" => {
                "AWS"     => "arn:aws:iam::ACCOUNT_ID:role/Administrator"
              },
              "Action"    => [
                "kms:*"
              ],
              "Resource"  => "*"
            },
            { 
              "Sid"       => "Allow access for Developers/Operators",
              "Effect"    => "Allow",
              "Principal" => {
                "AWS"     => "arn:aws:iam::ACCOUNT_ID:role/Developers"
              },
              "Action"    => [
                "kms:Decrypt",
                "kms:DescribeKey",
                "kms:Encrypt",
                "kms:GenerateRandom",
                "kms:GenerateDataKey",
                "kms:GenerateDataKeyWithoutPlaintext",
                "kms:GetKeyPolicy",
                "kms:GetKeyRotationStatus",
                "kms:ReEncrypt*",
                "kms:RetireGrant",
                "kms:RevokeGrant",
                "kms:CreateGrant"
              ],
              "Resource" => "*"
            }
          ]
        }

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
cfnlego-0.6.3 lib/cfnlego/resources/AWS/KMS/Key.yaml
cfnlego-0.6.2 lib/cfnlego/resources/AWS/KMS/Key.yaml
cfnlego-0.6.1 lib/cfnlego/resources/AWS/KMS/Key.yaml
cfnlego-0.6.0 lib/cfnlego/resources/AWS/KMS/Key.yaml
cfnlego-0.5.1 lib/cfnlego/resources/AWS/KMS/Key.yaml
cfnlego-0.5.0 lib/cfnlego/resources/AWS/KMS/Key.yaml
cfnlego-0.4.0 lib/cfnlego/resources/AWS/KMS/Key.yaml
cfnlego-0.3.6 lib/cfnlego/resources/AWS/KMS/Key.yaml
cfnlego-0.3.5 lib/cfnlego/resources/AWS/KMS/Key.yaml
cfnlego-0.3.4 lib/cfnlego/resources/AWS/KMS/Key.yaml
cfnlego-0.3.3 lib/cfnlego/resources/AWS/KMS/Key.yaml
cfnlego-0.3.2 lib/cfnlego/resources/AWS/KMS/Key.yaml
cfnlego-0.3.1 lib/cfnlego/resources/AWS/KMS/Key.yaml
cfnlego-0.3.0 lib/cfnlego/resources/AWS/KMS/Key.yaml
cfnlego-0.2.9 lib/cfnlego/resources/AWS/KMS/Key.yaml
cfnlego-0.2.8 lib/cfnlego/resources/AWS/KMS/Key.yaml
cfnlego-0.2.7 lib/cfnlego/resources/AWS/KMS/Key.yaml
cfnlego-0.2.6 lib/cfnlego/resources/AWS/KMS/Key.yaml
cfnlego-0.2.5 lib/cfnlego/resources/AWS/KMS/Key.yaml
cfnlego-0.2.4 lib/cfnlego/resources/AWS/KMS/Key.yaml