Skip to content

Commit

Permalink
docs: add Auto IAM AuthN example (#573)
Browse files Browse the repository at this point in the history
  • Loading branch information
enocom authored Feb 21, 2024
1 parent e71e04b commit a08beac
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,15 @@ with a query-string style syntax:
'<INSTANCE_URI_2>?address=127.0.0.1&port=7000'
```

For Auto IAM Authentication, make sure to run the Proxy as the same IAM
principal as the user you want to log in as, and start the Proxy like so:

``` bash
./alloydb-auth-proxy \
--auto-iam-authn \
<INSTANCe_URI>
```

Note: when using the query-string syntax, the instance URI and query parameters
must be wrapped in quotes.

Expand Down

0 comments on commit a08beac

Please sign in to comment.