ADR-INFRA-007 — Infrastructure Resource Naming Strategy

By Engineering & Security Architecture Team•October 20, 2026•2 min read

Status: Accepted Date: 2026-10-20 Authors: Engineering & Security Architecture Team

Context

Free-form names hide who acted and where, and make it easy to act on the wrong environment. BRD-INFRA-007 wants attributable audit entries. Specified in SR-INFRA-007.

Decision Drivers (FRs & NFRs)

  • BR-1.2 — an audit entry reads without a lookup.
  • BR-1.1 — one convention for all object types.
  • BR-1.3 — a scheme that is safe to publish as placeholders.

Options

Option 1 — Provider defaults or free-form names

Pros:

  • No governance overhead: names are chosen on the spot, with no segment or length rules.
  • No learning curve.

Cons:

  • An operator can mistake a production resource for a sandbox one, so action on the wrong environment is easy (BR-1.1).
  • Audit entries with names like “temp-role” give no project, environment, runner or owner during incident triage (BR-1.2).
  • Internal names cannot be mapped cleanly to placeholders, which raises the risk of leaking them in published material (BR-1.3).

Option 2 — Project and environment prefix only

Pros:

  • Short and readable, and within most provider length limits.
  • Separates non-production from production at a glance.

Cons:

  • Does not say which runner or purpose, or who held a personal credential (BR-1.2).
  • Several people or runners can share an identically named credential, so one cannot be revoked without affecting the others.
  • Without a segment for each part, providers and the password manager drift into different variants of the same name (BR-1.1).

Option 3 — Structured scheme <project>-<environment>-<runner>-<purpose>[-<person>] (CHOSEN)

Pros:

  • An audit entry names project, environment, runner, purpose and person without a lookup (BR-1.2).
  • The same segments apply to credentials, groups and vault entries, giving one shared vocabulary (BR-1.1).
  • Placeholders map one to one onto the real names, so published docs and samples stay safe (BR-1.3).
  • A compromised workstation or runner can be traced and its exact credential revoked without affecting others.

Cons:

  • Longer names, and some providers cap length, so a short project code may be needed.
  • Renaming an existing credential means replacing it, not editing it in place.
  • Needs a check or review discipline so that mandatory segments are not skipped.

Final Decision

Use the structured scheme for all credentials, groups and password-manager entries. Option 1 is rejected for ambiguous logs and the risk of acting on the wrong environment, and Option 2 for missing runner, purpose and person attribution. The cost accepted is longer names, short project codes where a provider limits length, and a replace-not-rename step when a name changes.