Tortilloid
Kongo / Secrets

Docs / Kongo / Secrets

Secrets

How Kongo handles keys, tokens and passwords. The model never sees them.

Kongo can work with APIs, accounts, servers and command-line tools that need secrets, without ever exposing them. Secrets are kept in your Mac's Keychain, and the AI model only ever gets a handle it can use.

How secrets are kept safe

  • The model never receives a secret. Kongo's tools, chat, events and logs carry only a connection id, never the key or token.
  • One way in. You type a secret only into Kongo's own window, never into the chat, and the fields come from Tortilloid, not from the agent. A tricked agent can't ask you for an unrelated password.
  • Scrubbed output. Every result is checked, and any secret that appears in it is replaced with [redacted] before Kongo sees it.
  • Stored in your Keychain. Remembered secrets are encrypted with the macOS Keychain. If the Keychain isn't available, nothing is remembered, and there is no fallback file.
  • Sent only where you approved. Secrets go over HTTPS to the address shown when you granted access, and nowhere else. Kongo can't redirect them.
  • Audited. Every request, use and revocation is recorded, without the secret itself.

SSH and command-line tools

Kongo uses SSH and other command-line tools through your terminals, with your existing setup. Your .ssh folder and other sensitive folders, such as your Keychains, are protected, so Kongo always asks before touching them. See Tools and permissions.

Model keys

Keys for OpenAI, Anthropic and OpenCode Zen are kept the same way, encrypted with your Keychain. See API keys.