Skip to content

Commit 10c7602

Browse files
authored
Merge pull request #107586 from lfittl-msft/postgres-azuread-add-sslmode
Postgres: Add "sslmode=require" for psql Azure AD instructions
2 parents 4b4c80b + 04ef012 commit 10c7602

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/postgresql/howto-configure-sign-in-aad-authentication.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ export PGPASSWORD=<copy/pasted TOKEN value from step 2>
158158
Now you can initiate a connection with Azure Database for PostgreSQL like you normally would:
159159

160160
```shell
161-
psql "host=mydb.postgres... [email protected]@mydb dbname=postgres"
161+
psql "host=mydb.postgres... [email protected]@mydb dbname=postgres sslmode=require"
162162
```
163163

164164
You are now authenticated to your PostgreSQL server using Azure AD authentication.

0 commit comments

Comments
 (0)