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

Allow the AWS backend to get credentials from its environment. #111

Merged
merged 1 commit into from
Aug 3, 2018

Conversation

tomwilkie
Copy link
Contributor

See cortexproject/cortex#898

Signed-off-by: Tom Wilkie tom.wilkie@gmail.com

Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
@bboreham
Copy link
Collaborator

What is the failure mode now if you forget to supply credentials via parameter or environment?

@tomwilkie
Copy link
Contributor Author

Assuming there are no credentials in the environment it'll still fail on startup, with something along the lines of "No credentials in chain".

If you run it on AWS through, there are always some credentials available - they just might not allow you to read or write from dynamodb. In this case the individual reads & writes will fail.

@tomwilkie
Copy link
Contributor Author

ping @bboreham?

@bboreham
Copy link
Collaborator

bboreham commented Aug 2, 2018

I was trying to get more feedback from users of this library.

@bboreham bboreham merged commit 54b7e30 into weaveworks:master Aug 3, 2018
@bboreham
Copy link
Collaborator

bboreham commented Aug 3, 2018

Thanks @tomwilkie !

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