Values.PutResourcePolicyInputSourceAttaches 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. If the policy would grant public access, the request fails with a PublicPolicyException. To remove a resource-based policy from a key, use DeleteResourcePolicy. Cross-account use: This operation can't be used across different Amazon Web Services accounts. Related operations: GetResourcePolicy DeleteResourcePolicy
type nonrec t = {resourceArn : ResourceArn.t;The KeyARN of the key to attach the resource-based policy to.
*)policy : ResourcePolicy.t;The resource-based policy to attach to the key, in JSON format.
*)}