Credential & Secrets Inventory
Demonstrate that long-term credentials and secrets are known, minimised, stored in a purpose-built secrets service, rotated, audited, and kept out of code and configuration.
Evidence definition: what you need to demonstrate, why it matters and how to assess it. This is not a completed document.
Why it matters
The risk this evidence addresses
Read this first: this record exists to demonstrate that the relevant control is defined and operating — not to complete a document.
Unknown, unrotated or poorly stored long-term credentials can be disclosed or stolen and used for extended periods without detection.
Derived from current AWS SEC02-BP02, SEC02-BP03 and SEC02-BP05 guidance on temporary credentials, secrets management, and auditing and rotation.
Keep long-term credentials and secrets to a justified minimum, store them in a purpose-built secrets service, rotate and audit them, and keep them out of code.
A current inventory of the long-term credentials and secrets a workload or organisation relies on: what each is, what uses it, where it is stored, who owns it, whether it rotates, when it was last rotated and audited, and why a temporary alternative isn't used.
Ownership
Ownership and review
No accountable role is recorded for this record yet. These are the roles involved in producing and using it.
Produces and contributes
Gathers the evidence and completes the record.
- Security Engineer
- Cloud Platform Engineer
- DevOps Engineer
Consumes and reviews
Relies on this record to judge whether the relevant control is operating.
Current SEC02 guidance places credential management with security, platform and engineering teams. WAG treats leadership and governance as consumers.
Credential owners confirm their entries; security engineering reviews the inventory and approves exceptions.
Challenge
What to ask your team
Use these when the artefact is presented to you. Each one is designed to expose evidence that exists but does not hold.
- Q01
How many long-term access keys exist today, and which could become temporary credentials?
- Q02
Which secrets have never been rotated?
- Q03
How do you know no secrets are committed in your repositories?
- Q04
Which credentials are shared between multiple people or systems?
- Q05
If a secret leaked tonight, how quickly could you rotate it?
Specification
What it must contain, and what makes it credible
Minimum expected content
- Scope: workloads, accounts and environments covered
- Each long-term credential or secret: type (access key, password, API token, certificate, etc.) and purpose
- Consuming identity or system
- Storage location (secrets service, parameter store, other)
- Owner
- Rotation method (automatic/manual), interval, and last rotation date
- Last audit or access-review date
- Justification where a temporary credential is not used, and the planned replacement
- Detection of secrets in code repositories or artefacts
- Exceptions with owner and expiry
What good looks like
- The inventory is generated or reconciled from real configuration, not maintained only by hand
- Long-term credentials are a short, justified list, shrinking over time
- Secrets are held in a purpose-built secrets service
- Rotation is automatic where possible and overdue items are visible
- Repositories are scanned for committed secrets
- Every item has an owner
Warning signs
- Access keys for machines where roles could be used
- Secrets in source code, environment files or wikis
- A spreadsheet nobody reconciles
- Rotation 'planned' but never done
- Credentials shared between people or systems
- No owner for service credentials
Measurement metadata expected
- Number of long-term credentials, trended over time
- Percentage of secrets held in a secrets service
- Percentage of secrets with automatic rotation
- Number of credentials past their rotation interval
- Number of secrets found in code or artefacts
- Age since last inventory reconciliation
Checklist
Checklist and template structure
Use this inventory to show every long-term credential and secret, who owns it and how it's protected. One row per credential keeps rotation, storage and justification visible together.
- 01
Scope
Workloads, accounts and environments covered.
- 02
Credential and secret register
One row per item: type, purpose, consumer, storage, owner, rotation, last rotated, last audited.
- 03
Long-term credential justifications
Why a temporary alternative isn't used, and the replacement plan.
- 04
Secret scanning
How code and artefacts are scanned, and recent findings.
- 05
Exceptions
optionalOwner, rationale and expiry.
Adopt this artefact
CSVThe blank file contains one column per template section, in the order shown above, plus a single empty row to start from.
Relationships
Where this evidence is used
Practices that expect it
Role journeys that reference it
- Not yet placed in an authored role journey. The roles that own, produce and use it are listed above.
Review cadenceReconcile at least quarterly against real configuration, and immediately after any suspected credential exposure.