Conversation
Add `insta secrets set <name> [value] [--branch]` and `secrets unset <name> [--branch]`, project-wide by default; value comes from the argument or stdin (keeps secrets out of shell history). Both are handleApproval-aware (202). Extend `policy set`'s help text with the secrets.write action. Also fix a latent commander bug that silently dropped `--branch`/`--org` when passed to a subcommand whose parent group (secrets, billing) declares the same flag name for its own default action — enable positional options so a flag written after the subcommand name binds to the subcommand, not the group.
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.
Summary by cubic
Adds
insta secrets setandinsta secrets unsetfor managing user secrets, and fixes flag parsing so options like--branchbind to subcommands. Enables project-wide or per-branch secret updates, with values from args or stdin.New Features
insta secrets set <name> [value] [--branch]andinsta secrets unset <name> [--branch]; values can come from stdin; project-wide by default;--branchscopes to one branch; both handle approval responses.policy sethelp to includesecrets.write.Bug Fixes
--branch) apply to that subcommand instead of the parent command group.Written for commit a535e25. Summary will update on new commits.