99designs / aws-vault

A vault for securely storing and accessing AWS credentials in development environments
MIT License
8.44k stars 816 forks source link

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

Closed gw-bcharboneau closed 8 months ago

gw-bcharboneau commented 8 months ago

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

gw-bcharboneau commented 8 months ago

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