Ask AI is now on the home page — ask a question and get a sourced answer from the Ory docs. You'll also find it in the bottom-right corner of any page.

Skip to main content

talos jwk generate eddsa

talos jwk generate eddsa

Generate an EdDSA (Ed25519) key pair

Synopsis

Generate an EdDSA key pair using the Ed25519 curve. Ed25519 uses a fixed 256-bit key size.

talos jwk generate eddsa [flags]

Examples

# Generate with auto-generated key ID
talos jwk generate eddsa -o signing-key.json

# Generate with custom key ID
talos jwk generate eddsa --kid prod-key-1 -o signing-key.json

# Generate public key only
talos jwk generate eddsa --public-only -o public-key.json

# Generate as JWKS format
talos jwk generate eddsa --jwks -o keys.jwks.json

Options

-h, --help help for eddsa
--jwks Output as JWKS (JSON Web Key Set)
--kid string Key ID (RFC 7638 JWK thumbprint used if not provided)
-o, --output string Output file (writes to stdout if not specified)
--public-only Output public key only
--use string Key usage: 'sig' for signing, 'enc' for encryption (default: sig)

Options inherited from parent commands

--config string path to a config file (without it, only schema defaults and TALOS_-prefixed env vars apply)
-e, --endpoint string HTTP server base URL including scheme, e.g. http://host:port (for client commands) (default "http://localhost:4420")

See also