Skip to content

Commit 621c198

Browse files
committed
Acrolinx fixes
1 parent 0386f73 commit 621c198

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

articles/cosmos-db/managed-identity-based-authentication.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ prerequisites:
5050
```
5151
5252
> [!NOTE]
53-
> These variables will be re-used in later steps. This example assumes your Azure Cosmos DB account name is ``msdocs-cosmos-app``, your function app name is ``msdocs-function-app`` and your resource group name is ``msdocs-cosmos-functions-dotnet-identity``.
53+
> These variables are reused in later steps. This example assumes your Azure Cosmos DB account name is ``msdocs-cosmos-app``, your function app name is ``msdocs-function-app`` and your resource group name is ``msdocs-cosmos-functions-dotnet-identity``.
5454
5555
2. View the function app's properties using the [``az functionapp show``](/cli/azure/functionapp#az-functionapp-show) command.
5656
@@ -79,7 +79,7 @@ procedureSection:
7979
- title: |
8080
Create Azure Cosmos DB API for NoSQL databases
8181
summary: |
82-
In this step, you'll create two databases.
82+
In this step, you create two databases.
8383
steps:
8484
- |
8585
In a terminal or command window, create a new ``products`` database using [``az cosmosdb sql database create``](/cli/azure/cosmosdb/sql/database#az-cosmosdb-sql-database-create).
@@ -102,7 +102,7 @@ procedureSection:
102102
- title: |
103103
Get Azure Cosmos DB API for NoSQL endpoint
104104
summary: |
105-
In this step, you'll query the document endpoint for the API for NoSQL account.
105+
In this step, you query the document endpoint for the API for NoSQL account.
106106
steps:
107107
- |
108108
Use ``az cosmosdb show`` with the **query** parameter set to ``documentEndpoint``. Record the result. You'll use this value in a later step.
@@ -125,11 +125,11 @@ procedureSection:
125125
```
126126
127127
> [!NOTE]
128-
> This variable will be re-used in a later step.
128+
> This variable is reused in a later step.
129129
- title: |
130130
Grant access to your Azure Cosmos DB account
131131
summary: |
132-
In this step, you'll assign a role to the function app's system-assigned managed identity. Azure Cosmos DB has multiple built-in roles that you can assign to the managed identity for control-plane access. For data-plane access, you'll create a new custom role with access to read metadata.
132+
In this step, you assign a role to the function app's system-assigned managed identity. Azure Cosmos DB has multiple built-in roles that you can assign to the managed identity for control-plane access. For data-plane access, you create a new custom role with access to read metadata.
133133
134134
> [!TIP]
135135
> For more information about the importance of least privilege access, see the [Lower exposure of privileged accounts](../security/fundamentals/identity-management-best-practices.md#lower-exposure-of-privileged-accounts) article.
@@ -150,7 +150,7 @@ procedureSection:
150150
```
151151
152152
> [!NOTE]
153-
> This variable will be re-used in a later step.
153+
> This variable is reused in a later step.
154154
- |
155155
Use ``az webapp identity show`` with the **query** parameter set to ``principalId``. Store the result in a shell variable named ``principal``.
156156
@@ -296,7 +296,7 @@ procedureSection:
296296
- title: |
297297
(Optional) Run the function locally
298298
summary: |
299-
In a local environment, the [``DefaultAzureCredential``](/dotnet/api/azure.identity.defaultazurecredential) class will use various local credentials to determine the current identity. While running locally isn't required for the how-to, you can develop locally using your own identity or a service principal.
299+
In a local environment, the [``DefaultAzureCredential``](/dotnet/api/azure.identity.defaultazurecredential) class uses various local credentials to determine the current identity. While running locally isn't required for the how-to, you can develop locally using your own identity or a service principal.
300300
steps:
301301
- |
302302
Get your local account's principal identifier using [`az ad signed-in-user show`](/cli/azure/ad/signed-in-user#az-ad-signed-in-user-show).
@@ -339,7 +339,7 @@ procedureSection:
339339
- title: |
340340
Deploy to Azure
341341
summary: |
342-
Once published, the ``DefaultAzureCredential`` class will use credentials from the environment or a managed identity. For this guide, the system-assigned managed identity will be used as a credential for the [``CosmosClient``](/dotnet/api/microsoft.azure.cosmos.cosmosclient) constructor.
342+
Once published, the ``DefaultAzureCredential`` class uses credentials from the environment or a managed identity. For this guide, the system-assigned managed identity will be used as a credential for the [``CosmosClient``](/dotnet/api/microsoft.azure.cosmos.cosmosclient) constructor.
343343
steps:
344344
- |
345345
Set the ``COSMOS_ENDPOINT`` setting on the function app already deployed in Azure.

0 commit comments

Comments
 (0)