post http://127.0.0.1:5001/api/v1/key/gen
Create a new keypair.
Arguments
Argument | Description | Type | Required? |
---|---|---|---|
arg | Name of key to create. | string | Y |
type | Type of the key to create [rsa, ed25519, ecdsa]. | string | N |
size | Size of the key to generate. | integer | N |