HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

aws-vault — A vault for securely storing and accessing AWS credentials in development environments. More informa

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandstoringaws-vaultandclisecurelyforvault

Problem

How to use the aws-vault command: A vault for securely storing and accessing AWS credentials in development environments. More information: <https://github.com/99designs/aws-vault>.

Solution

aws-vault — A vault for securely storing and accessing AWS credentials in development environments. More information: <https://github.com/99designs/aws-vault>.

Add credentials to the secure keystore:
aws-vault add {{profile}}


Execute a command with AWS credentials in the environment:
aws-vault exec {{profile}} -- {{aws s3 ls}}


Open a browser window and login to the AWS Console:
aws-vault login {{profile}}


List profiles, along with their credentials and sessions:
aws-vault list


Rotate AWS credentials:
aws-vault rotate {{profile}}


Remove credentials from the secure keystore:
aws-vault remove {{profile}}

Code Snippets

Add credentials to the secure keystore

aws-vault add {{profile}}

Execute a command with AWS credentials in the environment

aws-vault exec {{profile}} -- {{aws s3 ls}}

Open a browser window and login to the AWS Console

aws-vault login {{profile}}

List profiles, along with their credentials and sessions

aws-vault list

Rotate AWS credentials

aws-vault rotate {{profile}}

Context

tldr-pages: common/aws-vault

Revisions (0)

No revisions yet.