Cryptographic keys
Last updated
Was this helpful?
Last updated
Was this helpful?
The following key management functions are available:
- list of key ids
- load the public key in JWK format
- delete key
- generate key
- import key
- export key
The /v1/key
endpoint lists the available key ids.
E.g. List the available key ids.
The /v1/key/{id}
endpoint loads the public component of the provided key id in JWK format:
id - path parameter (required) - the key id
E.g. Load the key having id = e548f032cadf4145ab6886a57c2e87e6.
The /v1/key/{id}
endpoint deletes the specified key.
E.g. Delete the key having id = e548f032cadf4145ab6886a57c2e87e6.
The /v1/key/gen
generates a new key using the specified algorithm.
E.g. Generate a new key using the EdDSA_Ed25519 algorithm.
The /v1/key/import
endpoint imports a key (JWK or PEM format) to the underlying keystore.
E.g. Import a public key specified in JWK format.
The /v1/key/export
endpoint exports public and private key part (if supported by underlying keystore).
E.g. Export the public key with id = bc6fa6b0593648238c4616800bed7746 as JWK.