Skip to content

feat: add json output to whoami, account list-key and secrets list - #615

Open
anirudhwarrier wants to merge 4 commits into
mainfrom
feature/json-output-whoami-listkey-secrets
Open

anirudhwarrier wants to merge 4 commits into
mainfrom
feature/json-output-whoami-listkey-secrets

Conversation

@anirudhwarrier

@anirudhwarrier anirudhwarrier commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

Add --output json / --json to cre whoami, cre account list-key and cre secrets list so their results can be consumed by scripts. JSON is the only thing written to stdout (progress and status messages go to stderr), cre account list-key returns [] when no owners are linked, and cre secrets list returns {"owner", "namespace", "secrets": [...]} and exits non-zero when the vault reports a failure.

anirudhwarrier and others added 4 commits October 1, 2026 00:00
Lets commands that emit machine-readable output keep stdout free of
progress and status lines from shared flows.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Adds --output json / --json to cre whoami, cre account list-key and
cre secrets list. JSON is the only thing written to stdout; in secrets
list JSON mode, allowlist and ownership progress is routed to stderr.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@anirudhwarrier anirudhwarrier changed the title Feature/json output whoami listkey secrets feat: add json output to whoami, account list-key and secrets list Oct 14, 2026
@anirudhwarrier
anirudhwarrier marked this pull request as ready for review October 14, 2026 13:02
@anirudhwarrier
anirudhwarrier requested a review from a team as a code owner October 14, 2026 13:02

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant