99designs / aws-vault

A vault for securely storing and accessing AWS credentials in development environments

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Config "default" works on mac but no on ubuntu.

nightmare-moon opened this issue · comments

  • I am using the latest release of AWS Vault
  • I have provided my .aws/config (redacted if necessary)
  • I have provided the debug output using aws-vault --debug (redacted if necessary)

This is two questions in one.
aws-vault: v6.6.0
Ubuntu: 21.5.0
debugfile.txt
config.txt
a config file that works just fine on the mac does not work on ubuntu
it bugs out with the error message.
"Your profile has a source_profile of default, adding credentials to default won't have any effect"

if I then remove the string default and change it to a random string "tiger" it then says
aws-vault: error: add: Object does not exist at path “/”

In my case I had to install Vaulting Backend on machine https://github.com/99designs/aws-vault#vaulting-backends
I've used pass, but probably Gnome Keyring or KWallet will be simpler. What I've done:

  • installed pass
  • installed gnupg
  • created key pair: gpg --full-gen-key
  • informed aws-vault about backend: export AWS_VAULT_BACKEND=pass

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.