Skip to content

E3: Credential and key custody #21

Description

@gnanirahulnutakki

Goal. hold as few secrets as possible, and protect the ones that remain with envelope encryption and per-tenant keys so no single leak decrypts every tenant — and with no god credential in the center.

Phase / depends. the principles are day-one (P1); the concrete custody surfaces land when the first held secret arrives with the write path (P2 — Git credentials and the intent signing key). Depends on: E1 (workspaces are the key-scoping unit). This epic makes the predecessor's single-env-key blast radius structurally impossible (ADR-0006).

Features

  • F3.1 — no-central-admin-credential posture
  • F3.2 — KMS envelope encryption with per-tenant data keys
  • F3.3 — intent signing-key custody
  • F3.4 — key rotation and key-ring
  • F3.5 — boot-time custody checks
  • F3.6 — secret leak prevention

Exit criteria

  • The hub stores no cluster-admin kubeconfigs; reach and action use scoped/brokered identity.
  • Every hub-held secret is envelope-encrypted with a per-tenant DEK wrapped by a KMS master key.
  • The intent signing key lives in KMS/HSM and is rotatable; rotation works via a key-ring with no data loss.
  • Boot-time custody checks fail closed; secrets never reach logs, errors, or git.

Source: docs/EPICS.md, docs/SITH-NOTION.md · part of the Sith implementation backlog (see the master roadmap issue).

Metadata

Metadata

Assignees

No one assigned

    Labels

    epicEpic tracking issuegovernancePDP / audit / decision-ledger / tenancyphase-2Phase 2: first governed writesecuritySecurity hardening / isolation

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions