Skip to content

feat(gh): seal a secret into an environment with secret sync #6781

Closed

Description

@dan-petty

Problem

Design and owner decisions: #6773 (design comment and decision comment of 2026-11-22). The command seals the release key into the environment release. devops gh secret sync (src/devops_cli/github/secrets.py) writes only repository secrets.

Proposed remedy

  • Add --env <name> to devops gh secret sync: the public key of the environment, the PyNaCl seal, and the PUT body on stdin. Read the value by keyring reference or from a file, and never print it.

Acceptance criteria

  • Tests with a fake GitHub show the environment routes and no secret value in output or logs.

Person steps

None.

Dependencies

None.

Activity

  1. added
    type/feature
    source/agent
    status/new
    value/medium
    effort/medium
    on Nov 22, 2026
  2. dan-petty commented on Nov 22, 2026

    @dan-petty
    OwnerAuthor
  3. added
    scope/gh
    priority/p2-medium
    owner/agent
    status/in-progress
    status/in-review
    and removed
    status/new
    status/in-progress
    on Nov 22, 2026
  4. removed
    status/in-review
    owner/agent
    on Nov 22, 2026
  5. devops-cli-service commented on Nov 22, 2026

    @devops-cli-service
    Contributor

    Live since 2026-11-22 18:32 UTC

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

    effort/mediumpriority/p2-mediumscope/ghsource/agenttype/featurevalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions