Syntax of the CLI command pkey
Last adaption: 11.2023
New:
- Correction Name of the parameter keytype
Last updated:
- 06.2024
This article refers to a Resellerpreview
Command | Parameter | Description | Example |
---|---|---|---|
pkeypkey getpkey get |
List of keys and their properties | pkey get | |
pkey newpkey new |
Creates a new key | pkey new name "key" keytype "X25519" bits "253" | |
name | Name of the key | ||
keytype | Key type | ||
bits | Number of bits of the key | ||
pkey importpkey import |
Imports a key | pkey import name "key" value "1Mk...uH/hM=" keytype "X25519" format "RAW_B64" flags [ PUBLIC VALUE_DIRECT ] | |
name | Name of the key | ||
value | Wert des Schlüssels | ||
keytype | Key type | ||
format | Key file format | ||
flags | Type of key, private or public | pkey import … flags [ PUBLIC VALUE_DIRECT ] / pkey import … flags [ PRIVATE VALUE_DIRECT ] | |
pkey exportpkey export |
Exports a key | pkey export id "1" format "PEM" | |
id | ID of the key | ||
format | Key file format | ||
pkey deletepkey delete |
Deletes a key | pkey delete id "1" | |
id | ID of the key |