okigan / awscurl

curl-like access to AWS resources with AWS Signature Version 4 request signing.
MIT License
737 stars 91 forks source link

Replace AWS_SECURITY_TOKEN with AWS_SESSION_TOKEN #62

Closed okigan closed 5 years ago

okigan commented 5 years ago

Amazon decided to stick to this name and use it as a convention in all AWS-related tools.

I think that supporting both variable names, the same way that botocore does is the way to go: https://github.com/boto/botocore/blob/c76553d3158b083d818f88c898d8f6d7918478fd/botocore/credentials.py#L260-262

credits: https://github.com/mitchellh/goamz/issues/207