How to extract bearer token in using boto3 python 3.8 in cloudfront request and use it in another query
问题 How can I extract the bearer token in incoming cloudfront request and use it in another get request. curl -X GET \ https://domain/api/files/7d0ab8ef-9061-4458--de79a2c9e436 \ -H 'Authorization: Bearer eTA' \ -H 'Cache-Control: no-cache' \ -H 'Postman-Token: token' use the bearer token as jwt in the following request in phython domain.com/service/api/files/7d0ab8ef-9061-4458--de79a2c9e436 which gives me the following response : https://domain/file-service/api/files/7d0ab8ef-9061-4458-b97a