Skip to content

Commit 04ef012

Browse files
committed
Postgres: Add "sslmode=require" for psql Azure AD instructions
1 parent 9ec639c commit 04ef012

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)