Repository navigation
feat(gh): seal a secret into an environment with secret sync - #6789
Merged
Merged
Conversation
Owner
Author
|
Review points for the owner (no person steps in this item):
|
The not-utf8 case now asserts the fixed message and that the text has no 0xff. Before, the test also passed when the error quoted the decode error.
gh secret list has no --env, so the group help now says that the group lists the repository secrets. The command docs are generated again.
dan-petty
marked this pull request as ready for review
November 22, 2026 17:20
dan-petty
pushed a commit
that referenced
this pull request
Nov 22, 2026
🤖 I have created a release *beep* *boop* --- ## [0.195.0](v0.194.2...v0.195.0) (2026-11-22) ### Features * **gh:** seal a secret into an environment with secret sync ([#6789](#6789)) ([f9627cd](f9627cd)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
devops gh secret sync --env <name>seals a secret into a GitHub Actionsenvironment: it reads the public key of the environment, seals each value
with the PyNaCl sealed box, and sends the PUT body on stdin. It encodes the
environment name for the URL. Without
--env, it writes repository secretsas before.
--from-file <path>(or-for stdin) gives the value of onesecret, and the command refuses it with two names or with
--source vault.read_secret_inputinsrc/devops_cli/config/secret_input.pyis now theone reader of
--from-filefor this command anddevops config set.sync_repository_secretsandsync_secrets_requeststakeenvironmentfor #6773. No value goes to output, logs, spans or error text: tests assert
it with a known test value and a fake of the secrets routes. A dry run
sends no request. The command docs and the CLI reference are generated
again.
Closes #6781
Change:
openspec/changes/archive/2026-11-22-6781-secret-sync-environment/