nytimes / mock-ec2-metadata

Apache License 2.0
95 stars 16 forks source link

Add redirect for security credentials endpoint without trailing slash #11

Closed flosell closed 6 years ago

flosell commented 7 years ago

Add redirect from http://169.254.169.254/latest/meta-data/iam/security-credentials to http://169.254.169.254/latest/meta-data/iam/security-credentials/

This is how the AWS implementation behaves right now and some libraries (e.g. aws-sdk-go) seem to rely on this