summaryrefslogtreecommitdiff
path: root/docs/cli/authentication.md
diff options
context:
space:
mode:
authorMarat Boshernitsan <[email protected]>2025-07-07 15:02:13 -0700
committerGitHub <[email protected]>2025-07-07 22:02:13 +0000
commit48c2aa296a7ed8b17e861d54682b0ea71695ca66 (patch)
treeaf686139688bfca8e2fd9c7fedb944d012d52ff6 /docs/cli/authentication.md
parent357546a2aac918702f6ebfa4a97bd95ccd614e5d (diff)
Enable Gemini CLI to reuse user's auth in Cloud Shell (#3070)
Diffstat (limited to 'docs/cli/authentication.md')
-rw-r--r--docs/cli/authentication.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/cli/authentication.md b/docs/cli/authentication.md
index a3d3c0f3..3dddb897 100644
--- a/docs/cli/authentication.md
+++ b/docs/cli/authentication.md
@@ -74,6 +74,10 @@ The Gemini CLI requires you to authenticate with Google's AI services. On initia
echo 'export GOOGLE_GENAI_USE_VERTEXAI=true' >> ~/.bashrc
source ~/.bashrc
```
+4. **Cloud Shell:**
+ - This option is only available when running in a Google Cloud Shell environment.
+ - It automatically uses the credentials of the logged-in user in the Cloud Shell environment.
+ - This is the default authentication method when running in Cloud Shell and no other method is configured.
### Persisting Environment Variables with `.env` Files