AWS Vault

用于在开发环境中安全存储和访问 AWS 凭证的 Vault。「A vault for securely storing and accessing AWS credentials in development environments」

Github stars Tracking Chart

AWS Vault

Downloads
Go Report Card

AWS Vault is a tool to securely store and access AWS credentials in a development environment.

AWS Vault stores IAM credentials in your operating system's secure keystore and then generates temporary credentials from those to expose to your shell and applications. It's designed to be complementary to the AWS CLI tools, and is aware of your profiles and configuration in ~/.aws/config.

The supported backends are:

Check out the announcement blog post for more details.

Installing

You can install aws-vault:

  • by downloading the latest release
  • on macOS via Homebrew Cask with brew cask install aws-vault
  • on Linux via Homebrew on Linux with brew install aws-vault
  • on Windows via choco with choco install aws-vault
  • on Archlinux via the AUR
  • by compiling with go get github.com/99designs/aws-vault

Basic Usage

# Store AWS credentials for the "jonsmith" profile
$ aws-vault add jonsmith
Enter Access Key Id: ABDCDEFDASDASF
Enter Secret Key: %%%

# Execute a command (using temporary credentials)
$ aws-vault exec jonsmith -- aws s3 ls
bucket_1
bucket_2

# open a browser window and login to the AWS Console
$ aws-vault login jonsmith

# List credentials
$ aws-vault list
Profile                  Credentials              Sessions
=======                  ===========              ========
jonsmith                 jonsmith                 -

See the USAGE document for more help and tips.

Security

$ aws-vault exec jonsmith -- env

Main metrics

Overview
Name With Owner99designs/aws-vault
Primary LanguageGo
Program languageGo (Language Count: 4)
PlatformBSD, Linux, Mac, Windows, Android
License:MIT License
所有者活动
Created At2015-08-11 12:09:34
Pushed At2024-07-24 08:45:55
Last Commit At2024-05-07 11:00:25
Release Count120
Last Release Namev7.2.0 (Posted on )
First Release Namev1.0.0 (Posted on )
用户参与
Stargazers Count8.7k
Watchers Count119
Fork Count829
Commits Count1.2k
Has Issues Enabled
Issues Count636
Issue Open Count20
Pull Requests Count338
Pull Requests Open Count22
Pull Requests Close Count270
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private