Hashicorp Vault - Auto unseal with Azure Keyvault

Hey,

I am trying to enable the vault auto unseal feature.

I have done the following:

  1. Created a service principal
  2. Added API permissions for Microsoft Graph to the service principal
  3. Created a KeyVault for the auto unseal
  4. The vault servers are created within 3 VM’s and running
  5. Added the seal config to the vault configuration vault

Whenever I go and try to restart the vault after updating the vault config file I get the following error:

This is the error I get when I update the vault config file and try to restart it:

sudo systemctl restart vault

Job for vault.service failed because the control process exited with error code.

See “systemctl status vault.service” and “journalctl -xeu vault.service” for details.

Then whenever I remove the seal config and restart it works fine

Can someone please help me out?