Key management
Last updated
Was this helpful?
Last updated
Was this helpful?
Key management functions include:
- lists the available keys
- loads a key specified by its alias
- generate a key using the specified algorithm
- imports a key
- deletes a specific key
- exports public and private key parts (if supported by the underlying keystore)
The /keys
endpoint lists the key available to the Custodian
E.g. List the available keys
The /keys/{alias}
endpoint loads a key specified by its alias.
E.g. Load a key with id
e548f032cadf4145ab6886a57c2e87e6
The /keys/generate
endpoint generates a key using the specified algorithm.
E.g. Generate a key using the EdDSA_Ed25519 algorithm.
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.
The /keys/{id}
deletes the specified as parameter:
id path parameter (required) - the key alias
E.g. Delete the key with id
bc6fa6b0593648238c4616800bed7746
The /keys/export
endpoint exports a key.
E.g. Export the public key with id = e548f032cadf4145ab6886a57c2e87e6 as JWK.