/Azure.KeyVault

asp.net core3.1 azure keyvault

Primary LanguageC#MIT LicenseMIT

Azure.KeyVault Sample

💖 ASP.NET Core 3.1&5.0 Integration Azure KeyVault Service Sample

Description

This example provides include:

  • Azure.KeyVault:
  • Azure.KeyVault.WebApp:

Get started

  1. 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
  2. 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

Use this doc and get your NET Core Web App Add Azure Key Vault Service on!

Azure KeyVault

Reference

Azure Key Vault Introduction NET Core Console Get Azure Secret