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

cmd: support private keys in kes identity #461

Merged
merged 3 commits into from
May 5, 2024
Merged

cmd: support private keys in kes identity #461

merged 3 commits into from
May 5, 2024

Conversation

aead
Copy link
Member

@aead aead commented May 3, 2024

This commit is part of the CLI refactoring https://github.com/minio/kes/milestone/6

This commit adds support for parsing PEM private key files and printing their private key as API key.

Now, the kes identity command is now able to generate API keys, print identities of API keys or certificates and convert private key files to API keys. The existing sub-commands new, of, info ls are still supported.

As of now, only private keys of type Ed25519 are supported.

@aead aead requested review from shtripat and zveinn May 3, 2024 14:09
@aead aead added this to the New CLI milestone May 3, 2024
cmd/kes/identity.go Outdated Show resolved Hide resolved
aead and others added 2 commits May 4, 2024 08:45
This commit is part of the CLI refactoring https://github.com/minio/kes/milestone/6

This commit adds support for parsing PEM private key files
and printing their private key as API key.

Now, the `kes identity` command is now able to generate API keys, print
identities of API keys or certificates and convert private key files to
API keys. The existing sub-commands `new`, `of`, `info` `ls` are still
supported.

As of now, only private keys of type Ed25519 are supported.

Signed-off-by: Andreas Auernhammer <github@aead.dev>
Co-authored-by: Shubhendu <shubhendu@minio.io>
Signed-off-by: Andreas Auernhammer <github@aead.dev>
internal/cli/term.go Outdated Show resolved Hide resolved
Co-authored-by: Harshavardhana <harsha@minio.io>
Signed-off-by: Andreas Auernhammer <github@aead.dev>
@aead aead merged commit 802ce81 into master May 5, 2024
7 checks passed
@aead aead deleted the identity branch May 5, 2024 09:46
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.

None yet

3 participants