security
Build a credential inventory across CI pipelines
Inventory CI secret references, issuers and workload owners across pipelines. Capture enough context to rotate credentials without sharing their values.
TrustIvan · · 5 min read
Three teams use separate CI platforms, and each calls its release credential publisher. Some workflows retrieve a common credential while one uses a distinct short-lived identity. In this fictional inventory, names alone cannot tell reviewers which consumers share a lifecycle obligation.
Join workflow references to authorized credentials
| Pipeline | Declared reference | Effective relationship |
|---|---|---|
| Web release | Publisher alias | Shared credential |
| Batch release | Reusable publishing workflow | Same shared credential |
| Documentation | Publisher role | Separate dynamic identity |
Start with authorized credential metadata and workflow references. Capture the CI system, owning team, environment and effective principal or reference visible in its approved configuration. Keep credential values out of the inventory and attach evidence using restricted links where metadata sensitivity requires it.
Inventory references and versions using metadata
Use the owner's approved secret inventory, references and provider events. Capture aliases, version identifiers and consumer identities only at the level authorized for the record. Treat evidence such as rollout records and provider events as potentially sensitive metadata. Give the people responsible for the cutover or incident access through their normal channels. A change in a secret store and a consumer's successful authentication are different observations. Record which consumer and time each source covers before deciding whether a rotation reached the intended workload.
Use one row per issuer credential version and relate it to its confirmed pipeline consumers. Record repository or organization scope, environments, pipeline owners and next rotation dates. Keep the newest usage evidence if the provider exposes it. Distinguish configured and observed consumers to avoid treating a skipped job as retired.
Sample two distinct pipelines and verify values never appear in the exported inventory. Have the owner identify the next maintenance window for each credential and who confirms the switch. In a tool trial, ask whether the product can show how the observed links were collected. The Entro comparison discusses identity and secret relationships.
Review nested workflows, fallback configuration and scheduled jobs on maintained branches. In the fixture one pipeline runs the central workflow with an environment-specific override. Verify which backend or role it uses before grouping it with the two current shared consumers. The source of the effective reference determines who can rotate it.
Test inherited variables and different backends
For each pipeline, sample an ordinary run and compare its executing identity with the approved credential metadata. Inspect the batch reusable workflow's effective environment values without reading the credential. In the fixture that path determines whether batch shares the web credential or uses another provider. The docs workflow's dynamic identity can inherit the same display label yet require a different lifecycle record. Save when the mapping was observed, which maintained branch it applied to and who can verify a later change to the reusable workflow.
Test a credential-owner transfer without changing the CI jobs. The inventory should update the responsible role while preserving pipeline relationships and recent use evidence. Review one job absent from the approved inventory and another that has no scheduled run in the observed window.
Ask the CI credential inventory owner to repeat the check using the ordinary workflow. Provide the known evidence in the authorized credential and job inventory and request the exact record the reviewer would attach to their decision. A timestamp and stable identifier should carry over to the reviewed result. Capture agreement directly and log any change to that result as a new observation. Do the comparison before broadening the check to another service or project where collection and responsibilities may differ.
Publish a scope-aware rotation inventory
A replacement can be ready while some consumers still depend on the previous credential. Record which events show new use and which checks support ending the old permission. Preserve the time and authority for disablement or revocation. If log or incident evidence needs review, link to the approved system with its access controls intact. The person receiving the handoff should see any outstanding consumer and the next scheduled check without needing to inspect secret material. Retain the calendar entry for delayed consumers and the owner responsible for following through.
Give the next rotation an explicit list of consumers and verification windows. Capture how often the inventory refreshes, who reviews unmapped references and when a dynamic session identity belongs in its own record.
Check the export available to the team that receives the work. A readable report needs the relevant entity, observation time, disposition and available evidence reference. Confirm that the person doing the next task can find the subject without relying on the fixture labels.
In an escalation, send the active owner the decision being requested and the source they can consult. Give them one record to confirm and a date for responding. This keeps follow-up anchored to a reviewable observation instead of a broad request to take another look.
Ask each platform owner to confirm one row from ordinary execution metadata. If a workflow changes its reference before the next report, retain the prior reference in history so operations can reason about recent activity.