File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -247,10 +247,16 @@ Note: the following invocations assume you have downloaded the
247247well-known location to have it available on your ` PATH ` .
248248
249249``` bash
250- # Starts the proxy listening on 127.0.0.1:5432
250+ # Starts the proxy listening on 127.0.0.1:5432, uses private IP by default
251251./alloydb-auth-proxy < INSTANCE_URI>
252252```
253253
254+ To connect to an instance's public IP, use:
255+
256+ ``` bash
257+ ./alloydb-auth-proxy < INSTANCE_URI> --public-ip
258+ ```
259+
254260To connect to multiple instances, use:
255261
256262``` bash
@@ -288,7 +294,7 @@ principal as the user you want to log in as, and start the Proxy like so:
288294``` bash
289295./alloydb-auth-proxy \
290296 --auto-iam-authn \
291- < INSTANCe_URI >
297+ < INSTANCE_URI >
292298```
293299
294300Note: when using the query-string syntax, the instance URI and query parameters
You can’t perform that action at this time.
0 commit comments