Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add -output flag to spire-agent api commands #3818

Merged
merged 10 commits into from
Feb 7, 2023

Conversation

guilhermocc
Copy link
Contributor

@guilhermocc guilhermocc commented Feb 1, 2023

Pull Request check list

  • Commit conforms to CONTRIBUTING.md?
  • Proper tests/regressions included?
  • Documentation updated?

Affected functionality
spire agent api commands.

Description of change
Update spire-agent api commands, adding the -output flag:

  • Fetch X509
  • Fetch JWT
  • Validate

Add missing unitary tests for the aforementioned commands.

Which issue this PR fixes
(finally) closes #1354

Signed-off-by: Guilherme Carvalho <[email protected]>
Signed-off-by: Guilherme Carvalho <[email protected]>
Signed-off-by: Guilherme Carvalho <[email protected]>
Signed-off-by: Guilherme Carvalho <[email protected]>
Signed-off-by: Guilherme Carvalho <[email protected]>
Signed-off-by: Guilherme Carvalho <[email protected]>
@MarcosDY MarcosDY added this to the 1.6.0 milestone Feb 7, 2023
@MarcosDY MarcosDY merged commit 6a8726b into spiffe:main Feb 7, 2023
stevend-uber pushed a commit to stevend-uber/spire that referenced this pull request Oct 16, 2023
* Add output flag for spire-agent api commands

Signed-off-by: Guilherme Carvalho <[email protected]>

---------

Signed-off-by: Guilherme Carvalho <[email protected]>
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.

Support formatting of CLI output
2 participants