Security News > 2021 > February > How to use the Vault command line tool to store your code secrets
One way to avoid that is using a tool like HashiCorp's Vault, which is a command line tool for managing secrets.
Vault provides an API that gives access to secrets based on policies, and encrypts data using 256-bit AES with GCM. I want to show you how to install and get started with Vault.
Sudo apt-get install vault -y How to start the Vault server.
You will also be presented with a line that begins with export VAULT ADDR. You'll need to copy that entire line as well.
Figure A. How to store a secret in the Vault server.
Next time around, we'll work with the Vault secrets engine feature, which behaves similarly to a virtual file system and enables Vault to interact with other systems.