mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
34 lines
743 B
Plaintext
34 lines
743 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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}}`
|