halo keys public
Export the public key (PEM) and key id of a signing key: file://, awskms:// or exec://
Opens the key the URI names and prints its public key as PKIX PEM, plus its algorithm and key id
(the fingerprint halod logs and revokedKeys takes). Key URIs:
file://PATH (or PATH) PKCS#8 PEM ed25519 or ECDSA P-256 private key
awskms://KEY[?region=R&fips=true] AWS KMS SIGN_VERIFY key, ECC_NIST_P256 or ECC_NIST_EDWARDS25519;
KEY is a key id, key ARN, alias/
halo keys public [flags]| Flag | Shorthand | Type | Default | Description |
|---|---|---|---|---|
--key-uri |
string | signing key URI (file://, awskms://, exec://) | ||
--out |
string | also write the PEM to this file (refuses to overwrite) |
Global flags
Section titled “Global flags”| Flag | Shorthand | Type | Default | Description |
|---|---|---|---|---|
--output |
string | text | output format: text|json |