Skip to content

Commit 27c96f7

Browse files
committed
improve content
1 parent 221a603 commit 27c96f7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

articles/cosmos-db/nosql/quickstart-java-spring-data.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,6 @@ This step is optional. If you're interested in learning how the database resourc
9393

9494
## [Passwordless (Recommended)](#tab/passwordless)
9595

96-
[!INCLUDE [cosmos-nosql-create-assign-roles](../../../includes/passwordless/cosmos-nosql/cosmos-nosql-create-assign-roles.md)]
97-
9896
### Application configuration file
9997

10098
Configure the Azure Database for MySQL credentials in the `application.yml` configuration file in the `cosmos/spring-cloud-azure-starter-data-cosmos/spring-cloud-azure-data-cosmos-sample` directory. Replace the values of `${AZURE_COSMOS_ENDPOINT}` and `${COSMOS_DATABASE}`.
@@ -151,7 +149,7 @@ The sample code has already been added, you don't need to add any code.
151149
Now go back to the Azure portal to get your connection string information and launch the app with your endpoint information. This enables your app to communicate with your hosted database.
152150

153151
>[!TIP]
154-
> Before starting the following sections, replace the variables in *application.yml* with real values. If you use Passwordless authentication, use Azure CLI, Visual Studio Code, PowerShell, or other methods to complete the authentication.
152+
> Before starting the following sections, replace the variables in *application.yml* with real values. If you use Passwordless authentication, [create the custom role](/azure/cosmos-db/nosql/quickstart-java?tabs=passwordlesssync%2Csign-in-azure-cli#create-the-custom-role) and use Azure CLI, Visual Studio Code, PowerShell, or other methods to complete the authentication.
155153

156154
1. In the git terminal window, `cd` to the sample code folder.
157155

0 commit comments

Comments
 (0)