Add enterprise settings docs (#6076)

This commit is contained in:
christine betts
2025-08-20 17:04:03 +00:00
committed by GitHub
parent 0e24805806
commit 99b1ba9d10
3 changed files with 320 additions and 0 deletions

View File

@@ -29,6 +29,8 @@ Gemini CLI uses `settings.json` files for persistent configuration. There are th
**Note on environment variables in settings:** String values within your `settings.json` files can reference environment variables using either `$VAR_NAME` or `${VAR_NAME}` syntax. These variables will be automatically resolved when the settings are loaded. For example, if you have an environment variable `MY_API_TOKEN`, you could use it in `settings.json` like this: `"apiKey": "$MY_API_TOKEN"`.
> **Note for Enterprise Users:** For guidance on deploying and managing Gemini CLI in a corporate environment, please see the [Enterprise Configuration](./enterprise.md) documentation.
### The `.gemini` directory in your project
In addition to a project settings file, a project's `.gemini` directory can contain other project-specific files related to Gemini CLI's operation, such as: