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

Pass backend on windows with gopass no longer works.

brad-jones opened this issue · comments

I have the following config:

  • AWS_VAULT_BACKEND: "pass"
  • AWS_VAULT_PASS_CMD: "gopass"
  • AWS_VAULT_PASS_PREFIX: "aws-vault"
  • AWS_VAULT_PASS_PASSWORD_STORE_DIR: "$env:USERPROFILE\.password-store"

After v6.4.0, on Windows 10, I can no longer use this setup. It dies with:

aws-vault-650.exe: error: enum value must be one of wincred,file, got 'pass', try --help

v6.6.0 is the same:

aws-vault-660.exe: error: enum value must be one of wincred,file, got 'pass', try --help

It would appear to be related to the upgrade of https://github.com/99designs/keyring from v1.1.6 to v1.2.0
Specifically this commit 99designs/keyring@3f9e94a when the new build tag was added to exclude windows https://github.com/99designs/keyring/blob/master/pass.go#L1-L2

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