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

Does not use env vars #1270

Open
josersleal opened this issue Apr 30, 2024 · 0 comments
Open

Does not use env vars #1270

josersleal opened this issue Apr 30, 2024 · 0 comments

Comments

@josersleal
Copy link

using aws-vault which creates a sub-process in bash
using mfa for role based auth
these envs are created:
$ aws-vault exec jonsmith -- env | grep AWS
AWS_VAULT=jonsmith
AWS_DEFAULT_REGION=us-east-1
AWS_REGION=us-east-1
AWS_ACCESS_KEY_ID=%%%
AWS_SECRET_ACCESS_KEY=%%%
AWS_SESSION_TOKEN=%%%
AWS_CREDENTIAL_EXPIRATION=2020-04-16T11:16:27Z

expected: extension connects successfully

actual: extension does not connect. generates error
"Unable to locate credentials. You can configure credentials by running "aws configure". E0430 12:21:52.147831 194139 memcache.go:265] couldn't get current server API group list: Get "https://6F753C08CB5B073408D87E9B6A225BB4.yl4.eu-north-1.eks.amazonaws.com/api?timeout=32s": getting credentials: exec: executable aws failed with exit code 253"

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

No branches or pull requests

1 participant