v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1451364414.8 KB

Returns your API key in decrypted form. Use this to check the token domains that you have defined for the key.

post/#X-Amz-Target=AWSWAF_20190729.GetDecryptedAPIKey

Headers

X-Amz-Target'AWSWAF_20190729.GetDecryptedAPIKey' required

Request body

Scope'CLOUDFRONT' | 'REGIONAL' required
<p>Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, or an App Runner service. </p> <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p> <ul> <li> <p>CLI - Specify the Region when you use the CloudFront scope: <code>--scope=CLOUDFRONT --region=us-east-1</code>. </p> </li> <li> <p>API and SDKs - For all calls, use the Region endpoint us-east-1. </p> </li> </ul>
APIKeystring required

The encrypted API key.

Response

Success

TokenDomainsTokenDomain[]

The token domains that are defined in this API key.

CreationTimestampstring date-time

The date and time that the key was created.