diff --git a/samples/csharp_dotnetcore/84.bot-authentication-certificate/README.md b/samples/csharp_dotnetcore/84.bot-authentication-certificate/README.md index bd9e81f244..d13ef3ed49 100644 --- a/samples/csharp_dotnetcore/84.bot-authentication-certificate/README.md +++ b/samples/csharp_dotnetcore/84.bot-authentication-certificate/README.md @@ -2,7 +2,7 @@ Bot Framework v4 bot authentication using Certificate -This bot has been created using [Bot Framework](https://dev.botframework.com/), is shows how to use the bot authentication capabilities of Azure Bot Service. In this sample, we use a local or KeyVault certificate to create the Bot Framework Authentication. +This bot has been created using [Bot Framework](https://dev.botframework.com/), it shows how to use the bot authentication capabilities of Azure Bot Service. In this sample, we use a local or KeyVault certificate to create the Bot Framework Authentication. ## Interacting with the bot @@ -118,6 +118,11 @@ An SSL/TLS certificate is a digital object that allows systems to verify identit ![Certificate Reading](Images/Local/CertificateReading.png) + 10. In the current sample context, log into Azure to obtain the default credentials by executing the following command. + ``` + az login + ``` + ### Using KeyVault - This option requires the following app settings variables: @@ -164,6 +169,11 @@ An SSL/TLS certificate is a digital object that allows systems to verify identit ![Certificate Reading](Images/KeyVault/CertificateReading.png) + 7. In the current sample context, log into Azure to obtain the default credentials by executing the following command. + ``` + az login + ``` + - Run the bot from a terminal or from Visual Studio: A) From a terminal, navigate to `samples/csharp_dotnetcore/84.bot-authentication-certificate` diff --git a/samples/csharp_dotnetcore/85.bot-authentication-sni/README.md b/samples/csharp_dotnetcore/85.bot-authentication-sni/README.md index 0b9eac2564..39b278db45 100644 --- a/samples/csharp_dotnetcore/85.bot-authentication-sni/README.md +++ b/samples/csharp_dotnetcore/85.bot-authentication-sni/README.md @@ -2,7 +2,7 @@ Bot Framework v4 bot authentication using Subject Name/Issuer -This bot has been created using Bot Framework, is shows how to use the bot authentication capabilities of Azure Bot Service. In this sample, we use a local or KeyVault certificate and the MSAL Subject Name/Issuer configuration to create the Bot Framework Authentication. +This bot has been created using Bot Framework, it shows how to use the bot authentication capabilities of Azure Bot Service. In this sample, we use a local or KeyVault certificate and the MSAL Subject Name/Issuer configuration to create the Bot Framework Authentication. >NOTE: Microsoft's first-party resources are required to test this sample. ## Interacting with the bot @@ -104,6 +104,11 @@ Certificate Subject Name and Issuer (SNI) based authentication is currently avai ![Certificate Reading](Images/Local/CertificateReading.png) + 6. In the current sample context, log into Azure to obtain the default credentials by executing the following command. + ``` + az login + ``` + ### Using KeyVault - This option requires the following app settings variables: @@ -146,6 +151,11 @@ Certificate Subject Name and Issuer (SNI) based authentication is currently avai ![Certificate Reading](Images/KeyVault/CertificateReading.png) + 5. In the current sample context, log into Azure to obtain the default credentials by executing the following command. + ``` + az login + ``` + - Run the bot from a terminal or from Visual Studio: A) From a terminal, navigate to `samples/csharp_dotnetcore/85.bot-authentication-sn`