philloooo / github-tests

just for testing various github features/bugs
Apache License 2.0
0 stars 0 forks source link

PXD-272 ⁃ support getting aws credentials from aws metadata #298

Open skattar1406 opened 6 years ago

skattar1406 commented 6 years ago

when fence is deployed under aws, we should leverage aws metadata service to get temporary aws credentials for the role that's assigned to the k8s node. https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html

the presigned url generation code also need to be updated to support including the session_token when it's a temporary credential should still make fence work if it's not deployed on aws