jantman / vault-aws-creds

Python helper to export Vault-provided temporary AWS creds into the environment
21 stars 8 forks source link

Logging Issues #3

Closed dkolb closed 7 years ago

dkolb commented 7 years ago
$ vault-aws-creds aws_dev administrator
[2017-09-08 16:19:18,170 ERROR] ERROR: Your token does not have permission to list Vault mount points; you will have to obtain the AWS
backend mount points for your accounts from your Vault administrator.
[2017-09-08 16:19:18,174 WARNING] Account name "%s" not found in list of %d mountpoints; using as an explicit mountpoint for AWS backend.

Probably should skip trying to list anything if explicitly giving the AWS account and role. Warning that follows doesn't interpolate.

jantman commented 7 years ago

Both good points, thanks. And thanks for opening this. I'll have a fix out some time this weekend or early Monday morning.