Is there a way to use Python connector for postgresql with alloydb Auth Proxy?

  Kiến thức lập trình

I’m able to run a query against an AlloyDB instance using AlloyDB auth proxy and python code(using SQLAlchemy library).
But I want to test the IAM authentication for AlloyDB and Python connector for PostgreSQL library but I don’t see an option to use the IP address 127.0.0.1 that is the one opened by the proxy.

Do you know if there is a way to do this?

Thanks!

LEAVE A COMMENT