Skip to content
Gemini CLI

Secret Store for Gemini CLI

sh.secretstore/secret-store

Vault for .env files and credentials with scoped, audited OAuth 2.1 access for coding agents.

client:Gemini CLI transport:streamable-http

Install Secret Store in Gemini CLI

~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json

{
  "mcpServers": {
    "secret-store": {
      "httpUrl": "https://secretstore.sh/api/mcp"
    }
  }
}

Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs

Secret Store in other clients