Skip to content

Commit 1d52a3e

Browse files
authored
Update code-postgres-aad.md
1 parent f5d74e1 commit 1d52a3e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/service-connector/includes/code-postgres-aad.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ For more information, see the following resources:
4444

4545
### [Spring](#tab/spring)
4646

47-
For a Spring application, if you create a connection with option `--client-type springboot`, Service Connector will set the properties `spring.datasource.azure.passwordless-enabled`, `spring.datasource.url`, and `spring.datasource.username` to Azure Spring Apps.
47+
For a Spring application, if you create a connection with option `--client-type springboot`, Service Connector sets the properties `spring.datasource.azure.passwordless-enabled`, `spring.datasource.url`, and `spring.datasource.username` to Azure Spring Apps.
4848

4949
Update your application following the tutorial [Bind an Azure Database for PostgreSQL to your application in Azure Spring Apps](../../spring-apps/how-to-bind-postgres.md#prepare-your-java-project). Remember to remove the `spring.datasource.password` configuration property if it was set before and add the correct dependencies,
5050

@@ -103,7 +103,7 @@ For more code samples, see [Connect to Azure databases from App Service without
103103

104104
---
105105

106-
Next, if you have created tables and sequences in PostgreSQL flexible server, you need to login as database owner and grant permission to `aad username` that's created by Service Connector. Get the user name from connection string or configuration set by Service Connector, it should look like `aad_<connection name>`. If you use Portal, click the expand button next to `Service Type` column and get the value. If you use Azure CLI, check `configurations` in output of CLI command.
106+
Next, if you have created tables and sequences in PostgreSQL flexible server, you need to connect as database owner and grant permission to `aad username` that's created by Service Connector. Get the user name from connection string or configuration set by Service Connector, it should look like `aad_<connection name>`. If you use Portal, click the expand button next to `Service Type` column and get the value. If you use Azure CLI, check `configurations` in output of CLI command.
107107

108108
Then, execute the query to grant permission
109109

0 commit comments

Comments
 (0)