reproman icon indicating copy to clipboard operation
reproman copied to clipboard

pickup aws credentials from ~/.aws/credentials

Open yarikoptic opened this issue 5 years ago • 2 comments

It would be a typical use case that users might have already ~/.aws/credentials which is a typical python config file with possibly multiple sections containing credentials. If user decides to use our aws-ec2 backend, and we detect absent in our configuration aws credentials, we should ask (if interactive session) either the user would like to use any of those credentials, and copy them over.

It also brings up the question of multiple possible credentials, which I sketched in #472

yarikoptic avatar Oct 21 '19 19:10 yarikoptic

@yarikoptic did you mean ~/.aws/config? This is the standard AWS configuration file and is picked up by the boto calls.

chaselgrove avatar Jul 29 '20 18:07 chaselgrove

Hm, might be. I will ask Google later on either anything stores in credentials - I might have indeed just mystyped.

yarikoptic avatar Jul 30 '20 04:07 yarikoptic