CLI
Installing the CLI
To interact with vHSM you can use the enclaive vHSM CLI. The vHSM is also compatible with the Hashicorp CLI.
The CLI is available via the vHSM server and run on any Linux distribution.
Ubuntu/Debian
Update the package manager and install GPG and wget.
sudo apt update && sudo apt install wgetFedora
Install wget to download the CLI
sudo dnf install -y wgetDownload the CLI
wget https://vhsm.enclaive.cloud/static/vhsmTo ensure easy compatibility, enclaive vHSM inntegrates seamlessly with the HashiCorp Vault CLI. Follow the instructions in the Official Packaging Guide to install the HashiCorp GPG key, verify the key's fingerprint, and install Vault.
Ubuntu/Debian
Update the package manager and install GPG and wget.
sudo apt update && sudo apt install gpg wgetDownload the keyring
wget -O- https://apt.releases.hashicorp.com/gpg | sudo gpg --dearmor -o /usr/share/keyrings/hashicorp-archive-keyring.gpgVerify the keyring
gpg --no-default-keyring --keyring /usr/share/keyrings/hashicorp-archive-keyring.gpg --fingerprintAdd the HashiCorp repository.
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/hashicorp.listInstall Vault.
sudo apt update && sudo apt install vaultFedora
Install dnf config-manager to manage your repositories.
sudo dnf install -y dnf-plugins-coreUse dnf config-manager to add the official HashiCorp Linux repository.
sudo dnf config-manager --add-repo https://rpm.releases.hashicorp.com/fedora/hashicorp.repoInstall Vault.
sudo dnf -y install vaultAmazon Linux
Install yum-config-manager to manage your repositories.
$ sudo yum install -y yum-utilsUse yum-config-manager to add the official HashiCorp Linux repository.
$ sudo yum-config-manager --add-repo https://rpm.releases.hashicorp.com/AmazonLinux/hashicorp.repoInstall Vault.
$ sudo yum -y install vaultLast updated
Was this helpful?