File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -48,13 +48,15 @@ gemini extensions install https://github.com/gemini-cli-extensions/cloud-sql-pos
4848Set the following environment variables before starting the Gemini CLI. These variables can be loaded from a ` .env ` file.
4949This configuration is not required if utilizing the [ Admin toolset] ( #supported-tools ) .
5050
51- * ` CLOUD_SQL_POSTGRES_PROJECT ` : The GCP project ID.
52- * ` CLOUD_SQL_POSTGRES_REGION ` : The region of your Cloud SQL instance.
53- * ` CLOUD_SQL_POSTGRES_INSTANCE ` : The ID of your Cloud SQL instance.
54- * ` CLOUD_SQL_POSTGRES_DATABASE ` : The name of the database to connect to.
55- * ` CLOUD_SQL_POSTGRES_USER ` : (Optional) The database username.
56- * ` CLOUD_SQL_POSTGRES_PASSWORD ` : (Optional) The password for the database user.
57- * ` CLOUD_SQL_POSTGRES_IP_TYPE ` : (Optional) The IP Type i.e. "PUBLIC", "PRIVATE", or "PSC" (Default: "PUBLIC")
51+ ``` bash
52+ export CLOUD_SQL_POSTGRES_PROJECT=" <your-gcp-project-id>"
53+ export CLOUD_SQL_POSTGRES_REGION=" <your-cloud-sql-region>"
54+ export CLOUD_SQL_POSTGRES_INSTANCE=" <your-cloud-sql-instance-id>"
55+ export CLOUD_SQL_POSTGRES_DATABASE=" <your-database-name>"
56+ export CLOUD_SQL_POSTGRES_USER=" <your-database-user>" # Optional
57+ export CLOUD_SQL_POSTGRES_PASSWORD=" <your-database-password>" # Optional
58+ export CLOUD_SQL_POSTGRES_IP_TYPE=" PUBLIC" # Optional: `PUBLIC`, `PRIVATE`, `PSC`. Defaults to `PUBLIC`.
59+ ```
5860
5961Ensure [ Application Default Credentials] ( https://cloud.google.com/docs/authentication/gcloud ) are available in your environment.
6062
You can’t perform that action at this time.
0 commit comments