evanwieren / cfn_mason

Cloudformation tool for pulling apart cloud formation templates, and then allowing them to be broken into easily disected and used chunks.
MIT License
2 stars 3 forks source link

Make mason be able to use creds from the environment #6

Closed bemjb closed 8 years ago

bemjb commented 8 years ago

Instead of falling back to using SharedCredentials with "default" set, fall back to the default behavior, which should have similar results but allows the use of things like temporary credentials in environment variables. This also simplifies the code since instead of passing around credentials objects everywhere, it's just set on the AWS object itself.