From a08beac59ea3d1c753bcea64dc71aad3974711ef Mon Sep 17 00:00:00 2001 From: Eno Compton Date: Wed, 21 Feb 2024 10:01:01 -0700 Subject: [PATCH] docs: add Auto IAM AuthN example (#573) --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 27e2c1a4..837cd898 100644 --- a/README.md +++ b/README.md @@ -260,6 +260,15 @@ with a query-string style syntax: '?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 \ + +``` + Note: when using the query-string syntax, the instance URI and query parameters must be wrapped in quotes.