Introducing a new way to review your PRs.

Read the announcement

jdx / fnox

encrypted/remote secret manager

View on GitHub

27 documents · Updated Nov 23, 2026

overview

Knowledge Base updated: 2026-11-22

fnox Knowledge Base

Orientation

fnox is a Rust CLI for resolving secrets from configuration and provider integrations, then exposing them to commands, shells, files, and deployment targets.

Its core state is configuration and profile data, resolved secret values, provider definitions, encrypted local material, and persisted temporary-credential leases. Runtime surfaces include the CLI, daemon/proxy services, terminal UI, and MCP server.

Architecture

flowchart TD
  CLI[fnox CLI] --> Config[Configuration & profiles]
  Config --> Resolver[Secret resolver]
  Resolver --> Providers[Provider integrations]
  Resolver --> Templates[Template evaluation]
  Resolver --> Environment[Resolved environment]
  Environment --> Exec[Command execution]
  Environment --> Shell[Shell activation]
  Environment --> Push[Push targets]
  Config --> Storage[Encrypted local storage]
  Providers --> Leases[Temporary leases]
  CLI --> Daemon[Daemon & proxy]
  Daemon --> Client[Daemon client protocol]
  CLI --> TUI[TUI]
  CLI --> MCP[MCP server]

Glossary

  • Profile: A selected configuration context used to compose fnox behavior and secrets.
  • Provider: A backend that retrieves, stores, or encrypts secret material.
  • Resolved environment: The process environment produced after secret resolution and filtering.
  • Lease: A tracked, time-bound credential created by a supported backend.
  • Push target: An adapter that publishes resolved values to an external destination.

Invariants

  • Configuration discovery and profile selection must produce a deterministic effective configuration; evidence: src/config/**.
  • Secret values are resolved before command environments and serialized outputs are constructed; evidence: src/secret/** and src/cli/**.
  • Provider-specific behavior is isolated behind provider abstractions; evidence: src/provider/**.
  • Lease lifecycle operations retain enough state to list, revoke, clean up, and expire credentials; evidence: src/lease/**.
  • Runtime clients communicate through explicit daemon/proxy boundaries rather than directly sharing CLI state; evidence: src/daemon/** and src/proxy/**.

Routing table