v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1432172211.2 KB

Returns the resource-based policy attached to an Amazon Web Services Payment Cryptography key.

Cross-account use: This operation can't be used across different Amazon Web Services accounts.

Related operations:

post/#X-Amz-Target=PaymentCryptographyControlPlane.GetResourcePolicy

Headers

X-Amz-Target'PaymentCryptographyControlPlane.GetResourcePolicy' required

Request body

ResourceArnstring required

The <code>KeyARN</code> of the key whose resource-based policy you want to retrieve.

Response

Success

ResourceArnstring required

The <code>KeyARN</code> of the key.

Policystring required

The resource-based policy attached to the key, in JSON format.