Skip to content

Cookie parsing to route in ALB rules

0

Hello all, We're looking to parse a specific cookie which looks like key=value1-value2. We'd like to route based off of "value2" after base64 decoding the Value and parsing it for value2. Is it doable inside an ALB rule?

Thanks, Chandrajeet

asked a year ago324 views
1 Answer
0

ALB don't have the capability to decode the cookies with base64 encoding. I would recommend use Lambda@Edge or CloudFront Functions to perform the complex parsing and decoding. These services can modify requests before they reach the ALB.

AWS
EXPERT
answered a year 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.