d1069c888d | ||
---|---|---|
.. | ||
Properties | ||
KeyVaultConfigProviderSample.csproj | ||
Markup.cs | ||
Program.cs | ||
README.md | ||
Startup.cs | ||
appsettings.json | ||
web.config |
README.md
Key Vault Configuration Provider sample application
This sample illustrates the use of the Azure Key Vault Configuration Provider.
Using the sample
- Following the guidance in Get started with Azure Key Vault:
- Create a key vault
- Create key vault secrets
MySecret
:secret_value_1
Section--MySecret
:secret_value_2
- Register the application with Azure Active Directory
- Authorize the application to use the secrets
- Provide the configuration data to the
appsettings.json
file of the sample:
Vault
: Azure Key Vault NameClientId
: Azure AD Application IdClientSecret
: Azure AD Application Key
- Restore, build, and run the application