LOCAL TOOL / INVENTORY BUILDER
Record a fictional key
Entries stay in this page and disappear when it closes.
| Label | Type | Owner | Environment | Location | Status | Review |
|---|
An operational guide to knowing what keys exist, who owns them, where they live, what depends on them, and how trust ends.
Begin with the inventoryLose any relationship and the key becomes difficult to replace, revoke, recover, or defend.
01OwnerWho answers for it?
02PurposeWhat may it do?
03LocationWhere can it exist?
04DependenciesWhat breaks without it?
05ExitHow does trust end?
01 / INVENTORY
A useful inventory connects every key, certificate, and related secret to an accountable owner, a narrow purpose, its dependencies, status, and planned end.
LOCAL TOOL / INVENTORY BUILDER
Entries stay in this page and disappear when it closes.
| Label | Type | Owner | Environment | Location | Status | Review |
|---|
One secret enables both encryption and decryption. Distribution and copying create the central risk.
The non-public half of a keypair. Signing and decryption keys have different recovery and escrow needs.
Protect other keys. Their smaller population and larger blast radius justify tighter controls.
Protect data directly. They are often numerous, short-lived, and wrapped by a KEK.
Bind identity information to public keys for a stated purpose and validity period.
Grant access through public-key authentication. Inventory both authorized public keys and private-key custody.
02 / LIFECYCLE
Each stage needs an owner, an allowed action, evidence, and an exit path. Select a stage to inspect the operational question it must answer.
CREATE TRUSTWORTHY MATERIAL
Choose the algorithm, size, parameters, and entropy source for the key’s exact purpose. Generate inside the intended protection boundary when non-exportability matters.
CONTROL
Approved generator, documented purpose, and restricted creation rights.
EVIDENCE
Creation event, owner, algorithm, source, date, and policy reference.
Could anyone predict or silently replace this key?
OWNERSHIP MAP
| Role | Owns | Should not do alone |
|---|---|---|
| Business owner | Purpose and risk acceptance | Export production key material |
| Platform team | Service and protection boundary | Approve its own exception |
| Application team | Dependencies and integration | Bypass the approved key service |
| Security / audit | Policy, review, and evidence | Operate every production key |
03 / STORAGE + CONTROL
Start with exposure, extractability, latency, availability, audit, recovery, and operator needs. A stronger device does not fix excessive permissions or unsafe application behavior.
Good for device-bound application keys and user credentials. Protection follows the operating system and account boundary.
Examples: Keychain, TPM-backed keystoreCentral policy, logging, rotation support, and API-based operations. IAM design becomes part of key security.
Useful for cloud workloads and envelope encryptionDedicated hardware can enforce non-exportability, tamper resistance, dual control, and high-assurance operations.
High-impact signing roots and KEKsCentralizes access to keys and general secrets. Confirm whether keys are merely stored or used inside the service.
Application secrets and controlled distributionIsolates device keys and performs limited operations without exposing private material to the main processor.
Passkeys, mobile identity, embedded devicesLOCAL TOOL / PLACEMENT DECISION
Use the result as a conversation starter, not a product prescription.
Keep the key non-exportable where practical, grant workloads permission to request only the required operation, and log use.
04 / ENVELOPE ENCRYPTION
Envelope encryption separates high-volume data protection from the smaller set of centrally controlled key-encryption keys.
STEP 01 / 04
The DEK is created from a cryptographically secure source for a defined scope such as one object, tenant, or data partition.
The wrapped DEK is not plaintext key material. Its security depends on the KEK boundary and wrapping construction.
Applications request wrap or unwrap operations through narrowly scoped permissions and auditable APIs.
A KEK change may allow DEKs to be rewrapped without decrypting and re-encrypting every data object, depending on the architecture.
05 / ROTATION
There is no universal rotation interval. Cryptoperiods depend on purpose, algorithm, exposure, policy, threat, data lifetime, and operational constraints.
READINESS CHECK
PLANNED ROTATION
Overlap is intentional compatibility, not indefinite dual trust. Define who can still use the old key and when that permission ends.
SUSPECTED COMPROMISE
Do not wait for the next scheduled interval when compromise is known or reasonably suspected. Investigate what the key could authorize, decrypt, or impersonate.
06 / COMPROMISE RESPONSE
Copying a key may leave no visible trace. Response scope comes from what the key could do, where it was trusted, and what evidence exists.
LIMIT FURTHER USE
Stop new use without destroying evidence. Preserve logs, identify active sessions and automation, and assign an incident owner.
Certificates, SSH access, signing trust, tokens, and application allowlists propagate distrust differently. Confirm the revocation reached every dependency.
Decryption keys may need tightly controlled backup or escrow. Signing keys should not be escrowed casually because extra copies increase impersonation risk.
Separate authorization and execution for root keys, exports, destructive operations, and emergency recovery. Split knowledge prevents any one person from holding the whole secret.
Log who requested which operation, against which key, from where, when, and with what result. Never place plaintext keys in logs.
07 / FAILURE PATTERNS
Most incidents are not broken mathematics. They are misplaced files, permissions that grew, ownership that vanished, or replacement paths that were never tested.
Assume repository history, forks, caches, and build artifacts may retain the value after deletion.
A single compromise reaches both. Separate protection boundaries where practical.
Copies escape central controls and become difficult to inventory, revoke, or prove destroyed.
Too many principals can use keys, while logs cannot establish accountable ownership.
Expired owners and forgotten systems preserve access paths long after their purpose ends.
Hidden dependencies turn routine replacement into an outage, so risky keys remain active.
08 / PRACTICAL PLAYBOOKS
Select a common system to see what to inventory, protect, rotate, and monitor.
TLS / SERVICE IDENTITY
Inventory the certificate, private-key location, hostnames, issuer, renewal owner, deployment targets, and every load balancer or service that terminates TLS.
09 / SOURCE DESK
Educational analogies support understanding; production decisions need current specifications, threat models, maintained libraries, and organizational policy.
General key-management guidance, lifecycle protection, and cryptoperiod factors.
↗ OWASP CHECKLISTKey Management Cheat SheetApplication-focused generation, storage, compromise, recovery, and accountability practices.
↗ NIST STANDARDFIPS 140-3Security requirements for cryptographic modules; not a substitute for system-level design.
↗ IETF STANDARDTLS 1.3 / RFC 8446A precise example of protocols combining authentication, key establishment, and protected records.
↗Sources reviewed July 2026. SP 800-57 Part 1 Rev. 5 remains NIST’s current final guidance; Rev. 6 is a public draft. Recheck publication status and organizational requirements before production use.