Cloudfront Authorization Header


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?

asked 2 years ago1071 views
1 Answer

For those playing along at home, this is in reference to how you can include specific headers in the CloudFront cache key:

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

profile pictureAWS
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions