diff options
| author | Marat Boshernitsan <[email protected]> | 2025-07-07 15:02:13 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-07-07 22:02:13 +0000 |
| commit | 48c2aa296a7ed8b17e861d54682b0ea71695ca66 (patch) | |
| tree | af686139688bfca8e2fd9c7fedb944d012d52ff6 /docs/cli/configuration.md | |
| parent | 357546a2aac918702f6ebfa4a97bd95ccd614e5d (diff) | |
Enable Gemini CLI to reuse user's auth in Cloud Shell (#3070)
Diffstat (limited to 'docs/cli/configuration.md')
| -rw-r--r-- | docs/cli/configuration.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/cli/configuration.md b/docs/cli/configuration.md index 6e724ab1..31931391 100644 --- a/docs/cli/configuration.md +++ b/docs/cli/configuration.md @@ -248,6 +248,7 @@ The CLI automatically loads environment variables from an `.env` file. The loadi - Your Google Cloud Project ID. - Required for using Code Assist or Vertex AI. - If using Vertex AI, ensure you have the necessary permissions and set the `GOOGLE_GENAI_USE_VERTEXAI=true` environment variable. + - **Cloud Shell Note:** When running in a Cloud Shell environment, this variable defaults to a special project allocated for Cloud Shell users. If you have `GOOGLE_CLOUD_PROJECT` set in your global environment in Cloud Shell, it will be overridden by this default. To use a different project in Cloud Shell, you must define `GOOGLE_CLOUD_PROJECT` in a `.env` file. - Example: `export GOOGLE_CLOUD_PROJECT="YOUR_PROJECT_ID"`. - **`GOOGLE_APPLICATION_CREDENTIALS`** (string): - **Description:** The path to your Google Application Credentials JSON file. |
