Skip to content

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

Merged
bboreham merged 1 commit intoweaveworks:masterfrom
tomwilkie:aws-sts
Aug 3, 2018
Merged

Allow the AWS backend to get credentials from its environment.#111
bboreham merged 1 commit intoweaveworks:masterfrom
tomwilkie:aws-sts

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