Vault Unseal
Execute the following command to retrieve your virtual machine information:
terraform output ssh-addrSSH to connect to your virtual machine with username, azureuser:
ssh azureuser@<IP_address>Run vault status command to check current status:
vault status
Key Value
--- -----
Recovery Seal Type azurekeyvault
Initialized false
Sealed true
Total Recovery Shares 0
Threshold 0
Unseal Progress 0/0
Unseal Nonce n/a
Version n/a
HA Enabled true
Notice that Initialized is false.Run the vault operator init command to initialize the Vault server so that you can unseal:
Check the Vault status to verify that it has been initialized and unsealed.
In the service log, you should find a trace where Azure Vault key is being fetched to unseal the Vault server.
Restart the Vault server to ensure that Vault server gets automatically unsealed:
Explorer the systemd configuration for Vault server which is located at /lib/systemd/system/vault.service:
Last updated
Was this helpful?