Skip to content

Commit afc68bb

Browse files
committed
updated certificate part to be less confusiong
1 parent afbd2e8 commit afc68bb

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

4-WebApp-your-API/4-1-MyOrg/Client/appsettings.json

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,26 @@
1414
//Important - this approach is not secure to use on production. Use a certificate with KeyVault on production
1515
"ClientSecret": "[Copy the client secret added to the app from the Azure portal]"
1616

17+
////************** Uncomment this part when working with KeyVault certificate
1718
//"ClientCertificates": [
1819
// {
19-
//************** Uncomment this part when working with KeyVault certificate
2020
// "SourceType": "KeyVault",
2121
// "KeyVaultUrl": "[Enter URL for you Key Vault]",
2222
// "KeyVaultCertificateName": ""
23-
//**********************************************************************************
23+
// }
24+
//]
25+
////**********************************************************************************
2426

25-
// ************* Uncomment this part when working with local certificate
27+
//// ************* Uncomment this part when working with local certificate
28+
//"ClientCertificates": [
29+
// {
2630
// "SourceType": "StoreWithDistinguishedName",
2731
// "CertificateStorePath": "CurrentUser/My",
2832
// "CertificateDistinguishedName": "CN=TodoListClient-aspnetcore-webapi"
29-
//**********************************************************************************
3033
// }
3134
//]
35+
////**********************************************************************************
36+
3237
},
3338
"TodoList": {
3439

0 commit comments

Comments
 (0)