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

Error when executing any AWS Vault Command on 7.2.0, in WSL Ubuntu on Windows 11

gw-bcharboneau opened this issue · comments

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

Error when executing any AWS Vault Command on 7.2.0, in WSL Ubuntu on Windows 11

Installed by downloading aws-vault-linux-amd64 package from github as "aws-vault" and moving to /usr/local/bin/

aws-vault add test --debug

/usr/local/bin/aws-vault: line 1: --2024-02-01: command not found
/usr/local/bin/aws-vault: line 2: syntax error near unexpected token `('
/usr/local/bin/aws-vault: line 2: `Resolving github.com (github.com)... 140.82.112.3'

Reverted to 7.1.2 and it works

Discovered the issue apparently the scripted install i had for it, output the contents of the wget command into the file i was downloading instead of the file that it was downloading. redid my wget call manually and it worked