Skip to content

Fall back to ENV vars for AWS credentials#32

Open
stympy wants to merge 1 commit intoandrusha:masterfrom
stympy:master
Open

Fall back to ENV vars for AWS credentials#32
stympy wants to merge 1 commit intoandrusha:masterfrom
stympy:master

Conversation

@stympy
Copy link
Copy Markdown

@stympy stympy commented Feb 3, 2017

No description provided.

def after_configuration
options.access_key_id ||= ENV['AWS_ACCESS_KEY_ID']
options.secret_access_key ||= ENV['AWS_SECRET_ACCESS_KEY']
end
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this needed if we already set the defaults as arguments to option above?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I found that the defaults above didn't actually work. :)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Really? 😮 Could you add a test for that please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants