Skip to content

feat(security): hashicorp vault native client, dynamic secret leasing & os keyring envelope encryption research #311

Closed

Description

@dan-petty

Context & Rationale

Workstation secret management uses disparate mechanisms across OS Keyring, environment variables, and shallow Vault CLI invocations, lacking automated lease lifecycle management.

Scope & Deliverables

  • Context & Rationale*: Workstation secret management uses disparate mechanisms across OS Keyring, environment variables, and shallow Vault CLI invocations, lacking automated lease lifecycle management.
  • Deep Integration & Functional Extension*: Native asynchronous Vault client integration (hvac / async HTTP) with Kubernetes service account and AppRole authentication; background daemon for proactive secret lease renewal; Vault Transit engine integration for zero-knowledge envelope encryption of local workstation credentials.
  • Code Optimization & Performance Acceleration*: Eliminate expired credential failures in long-running CI/CD runs via automated token lease renewal; eliminate plaintext secret staging in memory buffers; unify local and remote credential resolution into a single-pass lookup.
  • Refactoring Potential & Legacy Elimination*: Refactor src/devops_cli/commands/vault.py and security modules to implement a unified SecretProvider protocol; eliminate fragmented keyring vs. env fallback ladders; centralize audit logging of credential accesses.

Strategic Alignment

  • Milestone: v0.2.22 (Deep Subsystem Integration, Architectural Optimization & Extensible Refactoring)
  • Roadmap Reference: docs/ROADMAP.md

Activity

  1. added this to the v0.2.22 milestone on Sep 19, 2026
  2. added
    type/feature
    scope/security
    priority/p1-high
    on Sep 19, 2026
  3. dan-petty commented on Sep 21, 2026

    @dan-petty
    OwnerAuthor

    Closed by #353, merged into release/v0.2.22.

    GitHub only acts on closing keywords when a pull request merges into the default branch, so this was closed by devops gh issues close-merged.

  4. added a commit that references this issue on Sep 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority/p1-highscope/securitytype/feature

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions