Cloudfront Authorization Header

0

When creating a cache policy in Cloudfront, I am able to select Authorization headers. Are all of the values in the authorization headers used as part of the cache key? For example will it use the oauth_nonce as part of the cache key?

Is there any way to only have it cache based on the oauth_consumer_key and oauth_token only?

已提问 2 年前1010 查看次数
1 回答
0

For those playing along at home, this is in reference to how you can include specific headers in the CloudFront cache key: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html

Anyway: When you select a header to use, CloudFront uses the whole header, not just parts of it.

profile pictureAWS
专家
已回答 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则