Skip to content

Sensitive Package Variable policy and redaction #139

@zack-nova

Description

@zack-nova

Parent

#136

What to build

Enforce the P0 sensitive Package Variable contract across declarations, Runtime Bindings resolution, and diagnostics. Sensitive values should be safe by default: env-only for P0, never defaulted, and redacted everywhere users inspect variable state.

Acceptance criteria

  • Package Variable declarations support sensitive and reject sensitive: true declarations that also define default.
  • Sensitive Package Variables reject Runtime Bindings that use inline value or value_from.file.
  • Sensitive Package Variables accept value_from.env when the referenced environment variable is present.
  • hyard vars doctor reports sensitive policy violations as errors.
  • hyard vars explain redacts sensitive values in text and JSON output while still reporting selected source and resolved status.
  • Any install-time or variable diagnostics introduced by this work use the same redaction behavior and do not print resolved sensitive values by default.

Blocked by

Metadata

Metadata

Assignees

No one assigned

    Labels

    delivery-mode:afkDelivery expected to proceed through objective repository gatesstate:mergedWork has landedtype:featureFeature work item

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions