How To: Hashicorp Vault Integration with MongoDB

1. Install Go programming language 1.1 Download the tar file from https://dl.google.com/go/go1.11.linux-amd64.tar.gz 1.2 Extract it to /usr/local , creating Go tree in /usr/local/go using the following command : tar -C /usr/local -xzf go$VERSION.$OS-$ARCH.tar.gz 1.3 Add /usr/local/go/bin to the PATH environment variable. You can do this by adding this line to your /etc/profile (for a system-wide installation) or $HOME/.profile: export PATH=$PATH:/usr/local/go/bin 1.4 Edit your ~/.bash_profile to add the following line: export GOPATH=$HOME/go 1.5 Save and exit your editor. Then, source your ~/.bash_profile. source ~/.bash_profile 2. Install Vault 2.1 Download the appropriate file for your system from here – https://www.vaultproject.io/downloads.html 2.2 Unzip it into any directory and run the executable file Vault 3. Implement MongoDB Database Secrets Engine 3.1 Enable the database […]

Continue reading