QuestionQ41

VerifiedDeploy scalable and highly available databases in Google Cloud

You are building a Python application that will use AlloyDB for PostgreSQL as its backend datastore. Your organization’s security requirements prohibit using usernames and passwords for database authentication. How should you build the application?

Explanation

The AlloyDB Python connector supports automatic IAM database authentication, which uses the IAM principal running the application and manages short-lived access tokens on the application's behalf instead of requiring a database password. IAM authentication is the appropriate passwordless database-authentication method for AlloyDB.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!