Skip to content

Anchor v0.1.0

Choose a tag to compare

@github-actions github-actions released this 07 Nov 03:47

The first public release of Anchor: a self-hosted secrets manager that runs entirely on
Cloudflare Workers, D1 and Queues.

Added

  • Core API and encryption.
    • First-owner setup guarded by a setup token; password login with lockout.
    • Projects with environments.
    • Encrypted, versioned secret storage: AES-256-GCM per value under a per-project key (KEK),
      wrapped by a root key held as a Worker secret.
  • Access control and audit.
    • Instance roles, and project memberships with environment restrictions.
    • Scoped, expiring, revocable service tokens.
    • Single-use invite links, password reset links and session management.
    • An append-only audit log of reads and changes, never values, with 365-day retention and a
      query API.
  • CLI (anchor).
    • login/logout/whoami, with OS keychain or 0600 file credential storage.
    • init with a .anchor.json project file.
    • secrets list|get|set|delete, with values never accepted in argv.
    • run -- <cmd>, which injects env and forwards signals, and export to dotenv/JSON/YAML.
    • Service token commands.
    • --json on every command, and stable exit codes.
    • Release binaries for macOS, Linux and Windows.
  • Dashboard.
    • Setup, login, invite and password-reset pages.
    • A projects overview matrix, the environment secrets view with masked values, and environment
      settings.
    • Members, service tokens with one-time reveal, users and invites, the audit log viewer, and an
      account page.
    • Served by the Worker with a strict CSP.
  • Advanced secrets.
    • Folders, with guarded and forced deletion.
    • Version history, audited past-version reveal, and rollback.
    • Secret references (${KEY}, ${env:/path/KEY}) with authorization on every hop and with
      cycle, depth and size limits.
    • Folder imports.
    • Background project-key rotation through Cloudflare Queues, and root-key rotation by re-wrapping.
  • Project.
    • Licensed under the Apache License 2.0; contributions under the Developer Certificate of
      Origin, checked in CI.
    • A documentation site at https://sotarak.github.io/anchor/ (guides, operations runbooks,
      security model, API reference).