Key management
Key management functions include:
List - lists the available keys
Load - loads a key specified by its alias
Generate - generate a key using the specified algorithm
Import - imports a key
Delete - deletes a specific key
Export - exports public and private key parts (if supported by the underlying keystore)
List keys
The /keys
endpoint lists the key available to the Custodian
E.g. List the available keys
Load key
The /keys/{alias}
endpoint loads a key specified by its alias.
E.g. Load a key with id
e548f032cadf4145ab6886a57c2e87e6
Generate key
The /keys/generate
endpoint generates a key using the specified algorithm.
E.g. Generate a key using the EdDSA_Ed25519 algorithm.
Import key
The /keys/import
endpoint imports a key (JWK or PEM format) to the underlying keystore.
E.g. Import a public key specified in JWK format.
Delete key
The /keys/{id}
deletes the specified as parameter:
id path parameter (required) - the key alias
E.g. Delete the key with id
bc6fa6b0593648238c4616800bed7746
Export key
The /keys/export
endpoint exports a key.
E.g. Export the public key with id = e548f032cadf4145ab6886a57c2e87e6 as JWK.
Last updated