Skip to content

Commit df5923c

Browse files
committed
added documentation for Azure Vault Configuration Provider
1 parent b3d91e5 commit df5923c

4 files changed

+72
-2
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Azure Key Vault Support
2+
3+
ASP.NET Core provides many configuration providers out of the box. One of them is Azure Key Vault Configuration Provider. **Azure Key Vault** is a cloud service that provides a secure store for secrets. You can securely store **keys**, passwords, certificates, and other secrets. For more information about Azure Key Vault, please refer to https://docs.microsoft.com/en-us/aspnet/core/security/key-vault-configuration.
4+
5+
ASP.NET Zero provides built-in integration for Azure Key Vault. There are two modes of Azure Key Vault which are ```Certificate``` and ```Managed``` modes. You can easily configure Azure Key Vault for ASP.NET Zero by filling the configurations displayed below in appsettings.json of your application. For other environments like Production or Staging, use the correct setting file (appsettings.Production.json or appsettings.Staging.json).
6+
7+
````json
8+
"Configuration": {
9+
"AzureKeyVault": {
10+
"IsEnabled": "false",
11+
"KeyVaultName": "",
12+
"AzureADApplicationId": "",
13+
"AzureADCertThumbprint": "",
14+
"ClientId": "",
15+
"ClientSecret": ""
16+
}
17+
}
18+
````
19+
20+
21+
22+
* ```IsEnabled```: Enables or disables using Azure Key Vault configuration.
23+
* ```KeyVaultName```: Key Vault Name.
24+
* ```AzureADApplicationId```: Azure AD Application ID.
25+
* ```AzureADCertThumbprint```: Azure AD Certificate Thumbprint
26+
* ```ClientId```: Azure Key Vault Client ID
27+
* ```ClientSecret```: Azure Key Vault Client Secret.
28+
29+
In order to use ```Certificate``` mode, ```KeyVaultName```, ```AzureADApplicationId``` and ```AzureADCertThumbprint``` values must be filled.
30+
31+
In order to use ```Managed``` mode, ```ClientId``` and ```ClientSecret``` values must be filled.
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Azure Key Vault Support
2+
3+
ASP.NET Core provides many configuration providers out of the box. One of them is Azure Key Vault Configuration Provider. **Azure Key Vault** is a cloud service that provides a secure store for secrets. You can securely store **keys**, passwords, certificates, and other secrets. For more information about Azure Key Vault, please refer to https://docs.microsoft.com/en-us/aspnet/core/security/key-vault-configuration.
4+
5+
ASP.NET Zero provides built-in integration for Azure Key Vault. There are two modes of Azure Key Vault which are ```Certificate``` and ```Managed``` modes. You can easily configure Azure Key Vault for ASP.NET Zero by filling the configurations displayed below in appsettings.json of your application. For other environments like Production or Staging, use the correct setting file (appsettings.Production.json or appsettings.Staging.json).
6+
7+
````json
8+
"Configuration": {
9+
"AzureKeyVault": {
10+
"IsEnabled": "false",
11+
"KeyVaultName": "",
12+
"AzureADApplicationId": "",
13+
"AzureADCertThumbprint": "",
14+
"ClientId": "",
15+
"ClientSecret": ""
16+
}
17+
}
18+
````
19+
20+
21+
22+
* ```IsEnabled```: Enables or disables using Azure Key Vault configuration.
23+
* ```KeyVaultName```: Key Vault Name.
24+
* ```AzureADApplicationId```: Azure AD Application ID.
25+
* ```AzureADCertThumbprint```: Azure AD Certificate Thumbprint
26+
* ```ClientId```: Azure Key Vault Client ID
27+
* ```ClientSecret```: Azure Key Vault Client Secret.
28+
29+
In order to use ```Certificate``` mode, ```KeyVaultName```, ```AzureADApplicationId``` and ```AzureADCertThumbprint``` values must be filled.
30+
31+
In order to use ```Managed``` mode, ```ClientId``` and ```ClientSecret``` values must be filled.

docs/en/nav-aspnet-core-angular.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,11 @@
216216
"path": "Feature-Dynamic-Entity-Parameters-Custom-Input-Types-Angular.md"
217217
}
218218
]
219-
}
219+
},
220+
{
221+
"text": "Azure Key Vault Configuration",
222+
"path": "Features-Angular-Azure-Key-Vault.md"
223+
}
220224
]
221225
},
222226
{

docs/en/nav-aspnet-core-mvc.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,11 @@
206206
"path": "Feature-Dynamic-Entity-Parameters-Custom-Input-Types-Mvc.md"
207207
}
208208
]
209-
}
209+
},
210+
{
211+
"text": "Azure Key Vault Configuration",
212+
"path": "Features-MVC-Azure-Key-Vault.md"
213+
}
210214
]
211215
},
212216
{

0 commit comments

Comments
 (0)