noCV
DENV-103 · Make the delivery contract visible

Keep secret values out of configuration diffs

Practice briefStoryIntermediate

A deployment preview serializes the fully resolved configuration, including a fake API token value, into the job log.

Focused work estimate
2h 30m + prerequisites
Priority in the scenario
Medium
Engineering practice
Secret handling · Redaction · Data minimization

Estimated field mix

  • DevOps60%
  • Security40%

Field percentages are editorial estimates of the ticket's engineering focus. They total 100%; they are not measured time, proficiency scores, or ownership evidence.

Your next step

Review it, then add it to your workspace.

The board opens an editable draft; nothing is saved until you confirm it. Sign-in and workspace permissions apply, and Demo boards remain ephemeral.

Project context

A fictional notification service uses environment files assembled by shell scripts. Defaults differ by machine, secret values appear in diagnostics, and emergency flags have no expiry. Build a typed local configuration compiler with fake secret references and synthetic environments; no real credentials or notification providers are supplied.

Setup prerequisites

  • Configuration precedence
  • Schema validation
  • Least privilege

Preceding work

Complete these dependencies, or supply their agreed outputs before taking this ticket.

Acceptance criteria

  • Configuration stores secret references separately from ordinary values
  • Diffs show reference identity and version without secret content
  • Errors and snapshots redact values even when resolution fails

Implementation constraints

  • Use sentinel fake secrets and assert they never appear in output.

Verification to include

  • Diff two configurations with changed secret references.
  • Make resolution fail with a sentinel value in the provider error and verify redaction.

Deliverables

  • Secret-reference model and log-leak tests

Rollout and recovery

Remove full resolved-config logging before connecting any nonfixture provider.

Value of the work

For the engineer: Practice configuration as a reviewed contract with safe diagnostics, provenance, and rollback.

For the team: Review environment changes before deployment and reduce outages caused by missing, stale, or silently defaulted settings.

Evidence boundaries

Outcome Evidence: Tests, patches, and runbooks are requested deliverables. They become Outcome Evidence only through a qualified Mission and immutable Evidence IDs.

Ownership Evidence: Independent adaptation must be observed under a declared verification policy and cite immutable Evidence IDs. Completing a planning ticket establishes no Ownership Evidence.