Created
December 20, 2018 06:23
-
-
Save sanjay-btc/c332d6f8a886853d5071f0a08051ff70 to your computer and use it in GitHub Desktop.
Install AWS Vault in Ubuntu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo curl -L -o /usr/local/bin/aws-vault https://github.com/99designs/aws-vault/releases/download/v4.2.0/aws-vault-linux-amd64 | |
sudo chmod 755 /usr/local/bin/aws-vault |
sudo curl -L -o /usr/local/bin/aws-vault https://github.com/99designs/aws-vault/releases/download/v6.4.0/aws-vault-linux-amd64
sudo chmod 755 /usr/local/bin/aws-vault
# always get latest version
sudo curl -L -o /usr/local/bin/aws-vault https://github.com/99designs/aws-vault/releases/latest/download/aws-vault-linux-amd64
sudo chmod 755 /usr/local/bin/aws-vault
# always get the latest version according to your system architecture
sudo curl -L -o /usr/local/bin/aws-vault https://github.com/99designs/aws-vault/releases/latest/download/aws-vault-linux-$(dpkg --print-architecture)
sudo chmod 755 /usr/local/bin/aws-vault
Thanks everyone, will try the approach by @mkarajohn! 🙏 ❤️
@mkarajohn I am getting this error on ubuntu22.04, what is the hack for this:
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
Warning: Failed to open the file /usr/local/bin/aws-vault: No such file or
Warning: directory
0 12.7M 0 1369 0 0 1528 0 2:26:09 --:--:-- 2:26:09 1528
curl: (23) Failure writing output to destination
@mkarajohn I am getting this error on ubuntu22.04, what is the hack for this:
% Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 Warning: Failed to open the file /usr/local/bin/aws-vault: No such file or Warning: directory 0 12.7M 0 1369 0 0 1528 0 2:26:09 --:--:-- 2:26:09 1528 curl: (23) Failure writing output to destination
Have you created the directory aws-vault
in usr/local/bin/
?
Update for v7.2.0 released March 2023
sudo curl -L -o /usr/local/bin/aws-vault https://github.com/99designs/aws-vault/releases/download/v7.2.0/aws-vault-linux-amd64 sudo chmod 755 /usr/local/bin/aws-vault
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
More uptodate: