Skip to content

HSM Keys: custom/generic provider type with extra fields (immediate need: cloudflare + account_id) #179

Description

@juniperbevensee

Need (hit today, 2026-07-24): handing a Cloudflare API token to the fleet requires a cloudflare provider in HSM Keys, and Cloudflare auth is two-part — API token plus Account ID — so a single secret field doesn't model it.

Proposal: either (a) add a cloudflare provider with api_token + account_id fields, or better (b) a generic/custom provider type where the operator defines the env-var name(s) per key, so the next provider (Squarespace, SMSPool, whatever) doesn't need a code change. Multiple named fields per provider entry, each mapping to one env var in assigned agents' .env.

Workaround in use meanwhile: creds handed over via a gitignored env file outside HSM — works but bypasses the vault, which is exactly what HSM exists to prevent.

Flagging for the gardener lane.

🤖 Generated with Claude Code

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions