Direkt zum Inhalt

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

gefragt vor einem Jahr339 Aufrufe
1 Antwort
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
EXPERTE
beantwortet vor einem Jahr

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.