tldr/pages/common/aws-vault.md

29 lines
650 B
Markdown
Raw Normal View History

2020-10-05 09:52:53 +01:00
# 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}}`