payment-cryptography:ImportKey

Write

payment-cryptography:ImportKey is a Write access-level action in the payment-cryptography service. Grants permission to imports keys and public key certificates

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

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:CertificateAuthorityPublicKeyIdentifier String

Filters access by the CertificateAuthorityPublicKeyIdentifier specified in the request or the ImportKey, and ExportKey operations

payment-cryptography:ImportKeyMaterial String

Filters access by the type of key material being imported [RootCertificatePublicKey, TrustedCertificatePublicKey, Tr34KeyBlock, Tr31KeyBlock, DiffieHellmanTr31KeyBlock, As2805KeyCryptogram, KeyCryptogram] for the ImportKey operation

payment-cryptography:PrivateKeyIdentifier String

Filters access by the PrivateKeyIdentifier specified in the request for the ImportKey and ExportKey operations

payment-cryptography:WrappingKeyIdentifier String

Filters access by the WrappingKeyIdentifier specified in the request for the ImportKey, and ExportKey operations

Example IAM policy

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

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

Related actions in payment-cryptography

View all payment-cryptography actions →