-
Notifications
You must be signed in to change notification settings - Fork 822
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
Linux version of 6.6.0 always complains about specified keyring backend #890
Comments
This happens because Based on the "Considering backends: [keyctl]" it looks that it was explicitly selected with |
Homebrew doesn't try anything special. It builds using It appears to me that this is the default. |
After updating WSL to Ubuntu 21.04 and reinstalling aws-vault using brew, this issue went away. It was present on Ubuntu 20.04. I still ran into other issues though since I didn't have a GUI popup for the password input. |
I ran into the same issue on Ubuntu 22.04: $ aws-vault list
aws-vault: error: Specified keyring backend not available, try --help
$ aws-vault --debug exec test
2022/04/28 12:28:58 aws-vault v6.6.0
2022/04/28 12:28:58 Loading config file /home/marco/.aws/config
2022/04/28 12:28:58 Parsing config file /home/marco/.aws/config
2022/04/28 12:28:58 [keyring] Considering backends: [keyctl]
2022/04/28 12:28:58 [keyring] Failed backend keyctl: accessing "" keyring failed: unknown scope ""
aws-vault: error: Specified keyring backend not available, try --help I installed wget https://github.com/99designs/aws-vault/releases/download/v6.6.0/aws-vault-linux-amd64
chmod +x ./aws-vault-linux-amd64
sudo mv aws-vault-linux-amd64 /usr/local/bin/aws-vault It worked using $ aws-vault list --backend=pass
Profile Credentials Sessions
======= =========== ========
default - -
- foo - To avoid having to use export AWS_VAULT_BACKEND=pass |
You need to check what is you keyring manager, by installing a new one or using default. |
@nordras thank you, I am running in a docker container where I'd prefer to avoid installing extra keychain dependencies (keyctl, gnome-keyring, etc). What is the significance of setting the backend to |
Seems like the new versions of OS's based on UNIX already have a default keychain feature, it seems like it's writing the credentials on an encrypted config file, I saw these configurations by looking into the add function code, there some time that I made it, so I'm not 100% sure @evbo, you welcome! |
So I just ran into this. It was working about a week or two ago, so no version update. The trouble is that I have already added the credentials, and setting the backend to I do see this file modified a while ago: It appears the system has stopped using it? |
Maybe an update to disabled |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
.aws/config
(redacted if necessary)aws-vault --debug
(redacted if necessary)Homebrew is encountering this in the attempts to build 6.6.0
As you can see in the command though, no backend is specified so it's odd that it's reporting that as unavailable.
This is a continuation of #889 with a clearer description of the problem that we're seeing in the Homebrew builds of this project.
The text was updated successfully, but these errors were encountered: