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

Option to output identity in plain text or json for automation purposes #492

Open
avoidik opened this issue Dec 11, 2024 · 0 comments
Open
Assignees

Comments

@avoidik
Copy link

avoidik commented Dec 11, 2024

What is the problem you want to solve?

There's no way to output generated identity without annotations. The most cleanest solution I've found is this:

MINIO_IDENTITY="$(kes identity of client.crt | tail -n 1 | tr -d '[:blank:]')"

How do you want to solve it?

MINIO_IDENTITY="$(kes identity of client.crt --plain)"

or

MINIO_IDENTITY="$(kes identity of client.crt --json | jq -r '.identity')"

Additional context

  1. Are there alternative solutions?

Piping output

  1. Would your solution cause a major breaking API change?

No

  1. Anything else that is important?

This creates unnecessary complexity for automation

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

No branches or pull requests

2 participants