Cloud auto join in Azure

I have a consul cluster of 5 nodes running on VMs in Azure. The VMs are all configured with Managed service identities (MSI). When configuring auto join, can I ommit the service principal client Id and client secret? When configuring auto unseal for Vault, it allows me to use the MSI instead of having to hard code credentials to access Azure. Just wondering if Consul has the same capability

Consul does not currently support using the MSI but once the functionality makes it into go-discover with this PR. Consul can pull it in and gain that functionality.

1 Like