cloud-sql-python-connector
cloud-sql-python-connector copied to clipboard
chore: validate `user` format for automatic IAM authn
Adding a validation step to validate format of database user
argument for better error handling and debugging when using automatic IAM database authentication.
Postgres: Removes .gserviceaccount.com
domain suffix if it exists.
MySQL: Removes everything after and including the @
sign. ([email protected]
-> test-user
)
Closes #429