Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for default credentials providers. #22

Merged
merged 1 commit into from
Oct 11, 2017

Conversation

jzuber4
Copy link
Contributor

@jzuber4 jzuber4 commented Oct 7, 2017

Allow s3_id, s3_secret, and profile to be omitted. If they are, the Ruby SDK will fall back to the default credentials providers, which can use environment variables, credentials files, or IAM role information stored in instance metadata.

The motivation of this change is to bring configure-s3-website closer to s3_website, which supports configuration with omitted credentials.

 Allow `s3_id`, `s3_secret`, and `profile` to be omitted. If they are, the Ruby SDK will fall back to the default credentials providers, which can use environment variables, credentials files, or IAM role information stored in instance metadata.

 The motivation of this change is to bring configure-s3-website closer to s3_website, which supports configuration with omitted credentials.
@laurilehmijoki
Copy link
Owner

Thanks for the PR, I’ll try to take a look at it at some point (busy with other commitments at the moment).

@laurilehmijoki laurilehmijoki merged commit 34ba050 into laurilehmijoki:master Oct 11, 2017
@laurilehmijoki
Copy link
Owner

Thanks @jzuber4! This pull request is now released in the latest versions of this gem and s3_website.

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.

None yet

2 participants