payment-cryptography:PutResourcePolicy

Permissions management

payment-cryptography:PutResourcePolicy is a Permissions management access-level action in the payment-cryptography service. Grants permission to attach or replace a resource-based policy on a key

Resource types

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

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:PutResourcePolicy.

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:PutResourcePolicy. Replace "Resource": "*" with a specific ARN to follow least privilege.

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

Related actions in payment-cryptography

View all payment-cryptography actions →