mirror of
https://github.com/googleworkspace/cli.git
synced 2026-09-14 16:47:13 +08:00
322529d8a9
* docs: document all environment variables and enable CONFIG_DIR override (#171) * docs: clarify env vars are trusted inputs in AGENTS.md * chore: add Gemini Code Assist style guide --------- Co-authored-by: jpoehnelt-bot <jpoehnelt-bot@users.noreply.github.com>
36 lines
1.9 KiB
Bash
36 lines
1.9 KiB
Bash
# gws — Google Workspace CLI
|
|
# Copy this file to .env and uncomment the variables you need.
|
|
# All variables are optional. See README.md for details.
|
|
|
|
# ── Authentication ────────────────────────────────────────────────
|
|
# Pre-obtained OAuth2 access token (highest priority; bypasses all credential loading)
|
|
# GOOGLE_WORKSPACE_CLI_TOKEN=
|
|
|
|
# Path to OAuth credentials JSON (user or service account)
|
|
# GOOGLE_WORKSPACE_CLI_CREDENTIALS_FILE=
|
|
|
|
# Default account email for multi-account usage (overridden by --account flag)
|
|
# GOOGLE_WORKSPACE_CLI_ACCOUNT=
|
|
|
|
# Email of user to impersonate via Domain-Wide Delegation (service accounts only)
|
|
# GOOGLE_WORKSPACE_CLI_IMPERSONATED_USER=
|
|
|
|
# ── OAuth Client ──────────────────────────────────────────────────
|
|
# OAuth client ID and secret (alternative to saving client_secret.json)
|
|
# GOOGLE_WORKSPACE_CLI_CLIENT_ID=
|
|
# GOOGLE_WORKSPACE_CLI_CLIENT_SECRET=
|
|
|
|
# ── Configuration ─────────────────────────────────────────────────
|
|
# Override the config directory (default: ~/.config/gws)
|
|
# GOOGLE_WORKSPACE_CLI_CONFIG_DIR=
|
|
|
|
# ── Model Armor (response sanitization) ──────────────────────────
|
|
# Default Model Armor template (overridden by --sanitize flag)
|
|
# GOOGLE_WORKSPACE_CLI_SANITIZE_TEMPLATE=
|
|
# Sanitization mode: warn (default) or block
|
|
# GOOGLE_WORKSPACE_CLI_SANITIZE_MODE=warn
|
|
|
|
# ── Helpers ───────────────────────────────────────────────────────
|
|
# GCP project ID fallback for gmail watch and events subscribe (overridden by --project)
|
|
# GOOGLE_WORKSPACE_PROJECT_ID=
|