💖 ASP.NET Core 3.1&5.0 Integration Azure KeyVault Service Sample
This example provides include:
- Azure.KeyVault:
- Azure.KeyVault.WebApp:
-
create a service principal in Azure and add the following keys to the workspace's environment variables
- ARM_CLIENT_ID
- ARM_CLIENT_SECRET SENSITIVE
- ARM_TENANT_ID
- ARM_SUBSCRIPTION_ID
-
setings service principal Environment Variables on Windows System PC
setx ARM_SUBSCRIPTION_ID xxxx-xxxx-xxxx-xxxx
(optional)setx ARM_CLIENT_ID xxxx-xxxx-xxxx-xxxx
setx ARM_CLIENT_SECRET xxxx-xxxx-xxxx-xxxx
setx ARM_TENANT_ID xxxx-xxxx-xxxx-xxxx
Azure Key Vault Introduction NET Core Console Get Azure Secret