You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add support for IAM auth with pg8000 driver (#101)
* feat: add support for IAM auth with pg8000 driver
* Update google/cloud/sql/connector/instance_connection_manager.py
Co-authored-by: Kurtis Van Gent <[email protected]>
* Apply suggestions from code review
Co-authored-by: Kurtis Van Gent <[email protected]>
* calculate seconds to refresh before returning metadata object
* address review comments
Co-authored-by: Kurtis Van Gent <[email protected]>
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -82,9 +82,9 @@ Note: If specifying Private IP, your application must already be in the same VPC
82
82
Tests can be run with `nox`. Change directory into the `cloud-sql-python-connector` and just run `nox` to run the tests.
83
83
84
84
1. Create a MySQL instance on Google Cloud SQL. Make sure to note your root password when creating the MySQL instance.
85
-
2. When the MySQL instance has finished creating, go to the overview page and set the instance’s connection string to the environment variable INSTANCE_CONNECTION_NAME using the following command:
85
+
2. When the MySQL instance has finished creating, go to the overview page and set the instance’s connection string to the environment variable MYSQL_CONNECTION_NAME using the following command:
3. Enable SSL for your Cloud SQL instance by following [these instructions](https://cloud.google.com/sql/docs/mysql/configure-ssl-instance).
90
90
4. Create a service account with Cloud SQL Admin and Cloud SQL Client roles, then download the key and save it in a safe location. Set the path to the json file to the environment variable GOOGLE_APPLICATION_CREDENTIALS using the following command:
0 commit comments