❔ How to connect to Azure Key Vault from external VPS?

Instructions for Azure VM was two lines of "Azure code"

I'm now using a VM from a third party, is it even possible anymore to keep using Azure Key Vault?
this is in my Program.cs:
if (builder.Environment.IsProduction())
        new Uri($"https://{builder.Configuration["KeyVaultName"]}.vault.azure.net/"),
        new DefaultAzureCredential());
You'd need to use a client id/secret for the keyvault with an app registration, or maybe have that vps signed into the azure cli with a service principal
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.