payment-cryptography:CreateKey

Write

payment-cryptography:CreateKey is a Write access-level action in the payment-cryptography service. Grants permission to create a unique customer managed key in the caller's AWS account and region

Resource types

This action does not support resource-level permissions; use "Resource": "*" in your policy.

Condition keys

Keys you can use in the Condition block of a policy that grants payment-cryptography:CreateKey.

aws:RequestTag/${TagKey} String

Filters access by both the key and value of the tag in the request for the specified operation

aws:TagKeys ArrayOfString

Filters access by the tag keys in the request for the specified operation

payment-cryptography:DeriveKeyUsage String

Filters access by the DeriveKeyUsage specified in the request for the CreateKey operation

payment-cryptography:KeyAlgorithm String

Filters access by KeyAlgorithm specified in the request for the CreateKey operation

payment-cryptography:KeyClass String

Filters access by KeyClass specified in the request for the CreateKey operation

payment-cryptography:KeyUsage String

Filters access by KeyUsage specified in the request or associated with a key for the CreateKey operation

Example IAM policy

A minimal policy that allows payment-cryptography:CreateKey. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowPaymentcryptographyCreateKey",
      "Effect": "Allow",
      "Action": "payment-cryptography:CreateKey",
      "Resource": "*"
    }
  ]
}

Related actions in payment-cryptography

View all payment-cryptography actions →