Skip to Content

pelican key create

Generate a public-private key-pair for Pelican server

Synopsis

Generate a public-private key-pair for a Pelican server. The private key is an ECDSA key with P256 curve. The corresponding public key is a JSON Web Key Set (JWKS), which can be used for JWT signature verification.

pelican key create [flags]

Options

-h, --help help for create --private-key string The file path where the generated private key will be saved. If a key already exists at the provided path, it will not be overwritten but will be used to derive a public key (default "./private-key.pem") --public-key string The file path where the generated public key (derived from the generated private key) will be saved. (default "./issuer-pub.jwks")

Options inherited from parent commands

--config string config file (default is $HOME/.config/pelican/pelican.yaml) -d, --debug Enable debug log messages -f, --federation string Pelican federation to utilize --json output results in JSON format -L, --log string Specified log output file --version Print the version and exit

SEE ALSO