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?

demandé il y a 2 ans1010 vues
1 réponse
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
EXPERT
répondu il y a 2 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions