-
Notifications
You must be signed in to change notification settings - Fork 815
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
aws-vault 6.6.0 behavior change #889
Comments
Hey @chenrui333 I'm struggling to understand what the issue is without further details. Your macOS example returns an error because you have not specified a profile and aws env vars haven't been found. 6.5.0 behaviour also displayed an error for this. Your Linux example returns an error because your selected keyring backend isn't available. You'll need to supply more information to show what backend you're using, and what the difference to 6.5.0 was, because 6.5.0 also would return an error when the selected backend wasn't available. |
Looking at the logs the different behaviour is that the command |
Please provide details with --debug as the issue template requests |
$ /home/linuxbrew/.linuxbrew/Cellar/aws-vault/6.6.0/bin/aws-vault login --debug 2>&1
2022/03/14 08:19:28 aws-vault 6.6.0-Homebrew
2022/03/14 08:19:28 [keyring] Considering backends: [keyctl]
2022/03/14 08:19:28 [keyring] Failed backend keyctl: accessing "" keyring failed: unknown scope ""
aws-vault: error: Specified keyring backend not available, try --help
|
In v6.5.0, in v6.6.0, Both v6.5.0 and v6.6.0 throw the same error when a profile argument is given Why is homebrew testing the behaviour of an error message about missing arguments... i don't understand |
Because we want to validate that it compiled and runs succesfully and any other check requires credentials.
That's good to know, we can adjust the test to give an invalid profile. |
I created #890 since this issue has a bunch of unrelated information about Homebrew tests that aren't part of the problem. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
.aws/config
(redacted if necessary)aws-vault --debug
(redacted if necessary)👋 trying to upgrade aws-vault to use the latest release, but ran into some issue as below the runtime behavior seems different between macOS and linux (for
aws-vault login
):On macOS
On linux
kind of relates to Homebrew/homebrew-core#96523
The text was updated successfully, but these errors were encountered: