payment-cryptography:GenerateCardValidationData

Write

payment-cryptography:GenerateCardValidationData is a Write access-level action in the payment-cryptography service. Grants permission to generate card-related data using algorithms such as Card Verification Values (CVV/CVV2), Dynamic Card Verification Values (dCVV/dCVV2) or Card Security Codes (CSC) that check the validity of a magnetic stripe card

Resource types

ARNs that payment-cryptography:GenerateCardValidationData can be scoped to in an IAM policy.

arn:${Partition}:payment-cryptography:${Region}:${Account}:alias/${Alias}
alias
arn:${Partition}:payment-cryptography:${Region}:${Account}:key/${KeyId}
key

Condition keys

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

aws:ResourceTag/${TagKey} String

Filters access by tags assigned to a key for the specified operation

payment-cryptography:ResourceAliases ArrayOfString

Filters access by aliases associated with a key for the specified operation

Example IAM policy

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

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

Related actions in payment-cryptography

View all payment-cryptography actions →