Skip to content

feat(auth): non-JWT admin/bootstrap API key for direct operator access #240

Description

@EricAndrechek

Area: auth · ops — gap (operability) · from Eric's notes

Expected: the devops person running WaveHouse has a simple, role-free credential (an admin API key) for bootstrapping and direct admin access — setting policies, schema ops, DLQ — without minting a JWT.

Actual: all elevated access goes through a JWT whose role claim matches admin_role. There's no static admin key / bootstrap credential, so even initial setup and break-glass operator access require the JWT plumbing.

Scope: a configured admin API key (header/bearer) that grants admin without a role claim, for bootstrap + operator/break-glass use. This is effectively an admin secret — pairs with the key→role-binding and revocation thinking in #228.

Related: auth-hardening epic #228; policy bootstrap seed-vs-SoT #229.


From Eric's notes scratchpad; triaged 2026-06-04.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/apiHTTP handlers, routing, middlewarearea/policyAccess control policies (Hasura-style)breaking-changeBreaking change to public API, CLI, or configenhancementNew feature or requestsecuritySecurity-sensitive issue or fix

    Type

    No type

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions