Public Key
npx @alliance/cli --registry https://source.webprovisions-origin-se-prod.ace.teliacompany.net/api/packages/alliance/npm/ public-key [options]
Utility command that creates and outputs a public key to use during development.
Arguments
| Flag | Alias | Default | Description |
|---|---|---|---|
--help | -h | N/A | Display command information. |
--debug | -d | false | To display debug information or not. |
--type | -t | 'spki' | Type of public key ['spki'|'pkcs'|'csp']. |
--clean | -c | false | Whether to exclude the -----BEGIN PUBLIC KEY------prefix and -----END PUBLIC KEY------suffix or not. |
Example
sh
npx @alliance/cli --registry https://source.webprovisions-origin-se-prod.ace.teliacompany.net/api/packages/alliance/npm/ public-key --debug --type spki