Skip to content

Commit ae1904d

Browse files
authored
Merge pull request #123333 from danvalero/patch-4
Update how-to-configure-authentication.md
2 parents a399137 + 3452ed7 commit ae1904d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/cosmos-db/postgresql/how-to-configure-authentication.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ export PGPASSWORD=<TOKEN value from the previous step>
153153
You can also combine the previous two steps together using command substitution. The token retrieval can be encapsulated into a variable and passed directly as a value for `PGPASSWORD` environment variable:
154154

155155
```bash
156-
export PGPASSWORD=$(az account get-access-token --resource-type oss-rdbms --query "[accessToken]" -o tsv)
156+
export PGPASSWORD=$(az account get-access-token --resource https://token.postgres.cosmos.azure.com --query "[accessToken]" -o tsv)
157157
```
158158

159159

0 commit comments

Comments
 (0)