Keys
Paradym tracks the keys behind certificates, including the ones behind certificate signing requests, so you can see which keys exist, where they live and what’s scheduled to happen to them. Find them under Trust → My Keys in the dashboard, or with GET /v1/wallets/{walletId}/keys. A certificate’s keyId points to its key.
A key has:
id: how you refer to the key in Paradym.backendKeyId: the key’s identifier in its backend, such as a Cloud KMS key version. Only returned on on-premise deployments.status:active,pendingDeletionordeleted.scheduledDeletionAtanddeletedAt: when the key is expected to be, and actually was, destroyed.
To see which backend a key lives on, or what it’s used for, use include:
GET /v1/wallets/{walletId}/keys?include=keyBackend,certificate,certificateSigningRequestkeyBackend is returned in the same shape as GET /v1/wallets/{walletId}/key-backends lists it. An imported certificate reuses its signing request’s key, so both are returned for it.
Filter with ?filter[status]= (active, pendingDeletion, deleted) and ?filter[keyBackend.type]= (software, gcpKms). ?sort=status orders keys by their lifecycle, active first, and combines with other fields: ?sort=status,-createdAt lists the keys in use first, newest first.
Key lifecycle
Once every certificate a key backs is revoked or expired, the key is retired: it stops working immediately, and it’s destroyed after a grace period (30 days by default). Deactivating a certificate doesn’t retire its key, because a deactivated certificate can still revoke the credentials it issued.
Some backends take a while to destroy a key, so it stays pendingDeletion until the backend has actually destroyed it. See External Key Backends for how each backend handles this.
Deleting a key
Paradym never revokes imported certificates (only the issuing CA can), so their keys are kept until the certificate expires. To release a key sooner, delete it:
DELETE /v1/wallets/{walletId}/keys/{keyId}or use Delete on the key under Trust → My Keys. The key stops working immediately and is destroyed after the grace period.
The deletion is refused while something still needs the key:
- a certificate that is
active,pendingActivationorpendingRevocation - an
activesigning request, whose certificate could still be imported
Revoke or deactivate those certificates, and import or delete those signing requests, first. The error lists everything that’s blocking.
Once the key is destroyed, you can’t revoke anything its certificate issued: revoking means signing a status list update with that key. Only delete a key when you’re sure nothing issued under its certificate will need revoking.
For a root certificate’s key this goes further: you can no longer revoke the root or any certificate beneath it, and its revocation list stops being refreshed.
Cancelling a deletion
While a key is pendingDeletion, you can undo the deletion:
POST /v1/wallets/{walletId}/keys/{keyId}/cancel-deletionor use Cancel deletion in the dashboard. The key works again straight away, on every backend.
You can only cancel when that gives you back a usable key. If the key’s certificate is revoked or expired, or it has neither a certificate nor an active signing request, the key can’t sign anything useful anymore, so cancelling is refused. The dashboard shows Cancel deletion disabled, with the reason. Those are also the keys Paradym deletes automatically, so automatic deletions can’t be cancelled: create a new certificate instead.