Skip to contents

Attaches or replaces a resource-based policy on an Amazon Web Services Payment Cryptography key. A resource-based policy can grant cross-account access to your key.

See https://www.paws-r-sdk.com/docs/paymentcryptographycontrolplane_put_resource_policy/ for full documentation.

Usage

paymentcryptographycontrolplane_put_resource_policy(ResourceArn, Policy)

Arguments

ResourceArn

[required] The KeyARN of the key to attach the resource-based policy to.

Policy

[required] The resource-based policy to attach to the key, in JSON format.