Key Revocation
QNSP supports immediate key revocation for security incidents.
Key Revocation
QNSP supports immediate key revocation for security incidents.
Revocation vs rotation
| Aspect | Rotation | Revocation |
|---|---|---|
| Timing | Scheduled | Immediate |
| Old key | Decrypt-only | Disabled |
| Data access | Maintained | May be lost |
| Use case | Normal lifecycle | Security incident |
Revocation process
- Key marked as
revoked - All operations fail immediately
- Dependent keys identified
- Cascade revocation if configured
- Audit trail generated
Revocation API
POST /kms/v1/keys/{keyId}/revoke
{
"reason": "suspected_compromise",
"cascade": true
}
Revocation reasons
suspected_compromise: Key may be exposedpolicy_violation: Usage policy violatedend_of_life: Planned decommissioningcrypto_weakness: Algorithm weakness discovered
Recovery
Revoked keys cannot be recovered. If revocation was in error:
- Generate new key
- Re-encrypt data from backups
- Update key references
Cascade revocation
When a parent key is revoked:
- Child keys can be automatically revoked
- Or marked for manual review
- Configurable per key policy