---
title: "Google Secret Manager"
url: "/docs/secret_managers/google_secret_manager"
canonical_url: "https://docs.litellm.ai/docs/secret_managers/google_secret_manager"
type: "docs"
last_updated: "2026-10-09"
summary: "Support for Google Secret Manager"
related:
  - "/docs/secret_managers/cyberark"
  - "/docs/secret_managers/google_kms"
---
# Google Secret Manager

> Index of all LiteLLM docs: https://docs.litellm.ai/llms.txt


> **LiteLLM Enterprise feature.** Requires an Enterprise license (`LITELLM_LICENSE`). Talk to sales: https://www.litellm.ai/enterprise#talk-to-sales

Support for [Google Secret Manager](https://cloud.google.com/security/products/secret-manager)

1. Save Google Secret Manager details in your environment

```shell 
GOOGLE_SECRET_MANAGER_PROJECT_ID="your-project-id-on-gcp" # example: adroit-crow-413218
```

Optional Params

```shell
export GOOGLE_SECRET_MANAGER_REFRESH_INTERVAL = ""            # (int) defaults to 86400
export GOOGLE_SECRET_MANAGER_ALWAYS_READ_SECRET_MANAGER = ""  # (str) set to "true" if you want to always read from google secret manager without using in memory caching. NOT RECOMMENDED in PROD
```

2. Add to proxy config.yaml 
```yaml
model_list:
  - model_name: fake-openai-endpoint
    litellm_params:
      model: openai/fake
      api_base: https://exampleopenaiendpoint-production.up.railway.app/
      api_key: os.environ/OPENAI_API_KEY # this will be read from Google Secret Manager

general_settings:
  key_management_system: "google_secret_manager"
```

You can now test this by starting your proxy: 
```bash
litellm --config /path/to/config.yaml
```

[Quick Test Proxy](/docs/proxy/quick_start#using-litellm-proxy---curl-request-openai-package-langchain)

## Related pages

- [CyberArk Conjur](https://docs.litellm.ai/docs/secret_managers/cyberark.md)
- [Google Key Management Service](https://docs.litellm.ai/docs/secret_managers/google_kms.md)
