Skip to content

Public Key

npx @telia-ace/alliance-cli public-key [options]

Utility command that creates and outputs a public key to use during development.

Arguments

FlagAliasDefaultDescription
--help-hN/ADisplay command information.
--debug-dfalseTo display debug information or not.
--type-t'spki'Type of public key ['spki'|'pkcs'|'csp'].
--clean-cfalseWhether to exclude the -----BEGIN PUBLIC KEY------prefix and -----END PUBLIC KEY------suffix or not.

Example

sh
npx @telia-ace/alliance-cli public-key --debug --type spki