-
Notifications
You must be signed in to change notification settings - Fork 820
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 fails with specified keyring backend not available
when using kwallet
without specifying the --backend
flag
#670
Comments
the regression has been introduced with this change: 7572b93#diff-83de63909ead282862b13050fe347d68 removing the |
@mtibben Was there a reason as to why was that line added, and if it is not required, could it be removed? |
AWS Vault should be able to tell you what backend it's going to use before it does - the "fallback" behaviour is good when when determining what default to display, but is not desirable when actually executing. If keyring is not returning available backends correctly, the problem is likely there. |
In both cases aws-vault reports available backends and their order…
patched with #672:
the problem is that the |
As @gdamjan mentioned the
And then here in
Since we make the default value of the |
Yes that behaviour is intentional @gdamjan and @Mr-istov. Allowing the keyring to "fallback" is confusing, and results in lost credentials. See this keyring issue 99designs/keyring#74 (comment). We want to remove this behaviour from keyring altogether. Instead keyring should determine at runtime which backends can be used, and aws-vault should specify which to use |
But then aws-vault defaults to 'secret-service' which is not even available on my system, instead of using 'kwallet' as it used before. |
See my earlier comment
|
Hmm well if that's the case if I may suggest, maybe it would be better to make the
|
If |
@mtibben Yeah that seems understandable. This issue seems to be more applicable in keyring. Since this issue is not relevant to |
Over Linux distribution, just run that |
Hello, until a few days ago while using
aws-vault
v5.4.0 I didn't had any problems runningaws-vault
withkwallet
as a backend without specifying the--backend
flag, but after upgrading to v6.1.0 it started throwing me the following error:This is the output with the
--debug
flag:If I run
aws-vault
with specifying the--backend=kwallet
flag it seems that it works, but I wonder why I didn't had this problem before, was this changed with the upgrade somehow?.aws/config
(redacted if necessary)aws-vault --debug
(redacted if necessary)The text was updated successfully, but these errors were encountered: