跳至內容

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

已提問 1 年前檢視次數 342 次
1 個回答
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
專家
已回答 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。