Skip to content

Consume provabl/evidence: principal resolver reads appraised attributes #102

Closed

Description

@scttfrdmn

Phase-two of the evidence-kernel adoption (ADR 0001).

Today

internal/principal/resolver.go reads attest:* IAM role tags directly (ListRoleTags) and maps them into PrincipalAttributes (pkg/schema/types.go). The tags are bare assertions — see the qualify side (provabl/qualify#38).

Target

The resolver consumes appraised principal attributes lowered by the kernel (provabl/evidence) via lower.ToAttributes, so the inputs are freshness-bound and provenance-checked rather than trusted IAM tags. attest stays the PDP — this changes where principal attributes come from, not who decides.

Notes

  • Dependency direction: attest imports provabl/evidence; never the reverse.
  • Pairs with the workload-context injection issue (filed alongside this one).

Refs: ADR 0001 · provabl/evidence · qualify provabl/qualify#38

Activity

  1. added
    type/feature
    status/needs-design
    area/principal
    on Jun 8, 2026
  2. scttfrdmn commented on Jun 8, 2026

    @scttfrdmn
    CollaboratorAuthor

    Part of the Evidence Kernel Integration epic — tracking hub: provabl/evidence#2

  3. scttfrdmn commented on Jun 9, 2026

    @scttfrdmn
    CollaboratorAuthor

    Resolved as satisfied by design (not a code change).

    The producing tools (qualify, vet) appraise in-process with ephemeral per-run keys and persist only the lowered attributes — qualify writes attest:* IAM tags, vet writes .vet/gate-result.json. The signed evidence bundle is transient and the signing key never leaves the process, so there is no cross-process bundle for attest to verify. attest's principal resolver reading those IAM tags is already consuming the product of appraisal.

    Re-appraising already-appraised data in attest under a fresh ephemeral key would add ceremony with no new trust property. attest stays the PDP and consumes lowered attributes — "appraisal produces the verdict; Cedar acts on it; they never merge."

    Documented in:

    If a future requirement needs out-of-process bundle verification (store-and-forward / remote appraiser), that's when persistent/named AM keys earn their place — a deliberate non-goal today.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/principalstatus/needs-designtype/feature

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions