From cb2accf598f69f21fcd23ee3d2edf67e0768191f Mon Sep 17 00:00:00 2001 From: "Tong Xu (Wicresoft North America Ltd)" Date: Mon, 13 Jul 2020 16:53:41 +0800 Subject: [PATCH 1/2] Add example summary for azure-identity readme.md --- sdk/identity/azure-identity/README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/sdk/identity/azure-identity/README.md b/sdk/identity/azure-identity/README.md index 3af1e40d0a68..49f1f600ac04 100644 --- a/sdk/identity/azure-identity/README.md +++ b/sdk/identity/azure-identity/README.md @@ -137,6 +137,15 @@ Configuration is attempted in the above order. For example, if values for a client secret and certificate are both present, the client secret will be used. # Examples + +Following examples are provided below: + +* [Authenticating with DefaultAzureCredential](#authenticating-with-defaultazurecredential) +* [Authenticating a service principal with a client secret](#authenticating-a-service-principal-with-a-client-secret) +* [Authenticating a service principal with a certificate](#authenticating-a-service-principal-with-a-certificate) +* [Chaining credentials](#chaining-credentials) +* [Async credentials](#async-credentials) + ## Authenticating with `DefaultAzureCredential` This example demonstrates authenticating the `BlobServiceClient` from the [azure-storage-blob][azure_storage_blob] library using From ee6c0e6c556532f73712439d3d35b285d4e98b80 Mon Sep 17 00:00:00 2001 From: "Tong Xu (Wicresoft North America Ltd)" Date: Tue, 14 Jul 2020 09:47:25 +0800 Subject: [PATCH 2/2] modify by comments --- sdk/identity/azure-identity/README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/sdk/identity/azure-identity/README.md b/sdk/identity/azure-identity/README.md index 49f1f600ac04..0afa0c670e54 100644 --- a/sdk/identity/azure-identity/README.md +++ b/sdk/identity/azure-identity/README.md @@ -138,13 +138,13 @@ client secret and certificate are both present, the client secret will be used. # Examples -Following examples are provided below: +The following examples are provided below: -* [Authenticating with DefaultAzureCredential](#authenticating-with-defaultazurecredential) -* [Authenticating a service principal with a client secret](#authenticating-a-service-principal-with-a-client-secret) -* [Authenticating a service principal with a certificate](#authenticating-a-service-principal-with-a-certificate) -* [Chaining credentials](#chaining-credentials) -* [Async credentials](#async-credentials) +* [Authenticating with DefaultAzureCredential](#authenticating-with-defaultazurecredential "Authenticating with DefaultAzureCredential") +* [Authenticating a service principal with a client secret](#authenticating-a-service-principal-with-a-client-secret "Authenticating a service principal with a client secret") +* [Authenticating a service principal with a certificate](#authenticating-a-service-principal-with-a-certificate "Authenticating a service principal with a certificate") +* [Chaining credentials](#chaining-credentials "Chaining credentials") +* [Async credentials](#async-credentials "Async credentials") ## Authenticating with `DefaultAzureCredential` This example demonstrates authenticating the `BlobServiceClient` from the