The KMS Command Line Interface (KMS CLI) is a unified tool that provides a consistent interface for interacting with KMS.
This command is used for creating a keystore.
keystore create [flags]
controller
[string] - DID of keystore controller.url
[string] - URL of KMS server.auth-token
[string] - The Auth token.tls-cacerts
[array|string] - Array of one or more CA cert paths.tls-systemcertpool
[boolean] - Flag whether to use system certificate pool.
keystore create --controller did:example:123456 --url https://localhost:8078
--tls-cacerts fixtures/keys/tls/ec-cacert.pem
This command is used for creating keys in the keystore.
key create [flags]
keystore
[string] - ID of the keystore.type
[string] - Type of the key.url
[string] - URL of KMS server.auth-token
[string] - The Auth token.tls-cacerts
[array|string] - Array of one or more CA cert paths.tls-systemcertpool
[boolean] - Flag whether to use system certificate pool.
key create --keystore {keystoreID} --url https://localhost:8078 --type ED25519
--tls-cacerts fixtures/keys/tls/ec-cacert.pem