Skip to content

feat(snapshots): add reveal option to snapshot GET endpoint for env var inspection #112

Description

@dennisonbertram

Problem

Snapshots Story 3 (Get Snapshot Details) notes in Security: "Env vars NOT returned in Get operation (only decrypted on service creation)." This means there is no way to inspect what env vars are stored in a snapshot before using it to create a service. Users cannot verify snapshot contents without creating a service from it.

Expected Behavior

  • GET /v1/snapshots/{snapshotID}?reveal=true should decrypt and return the snapshot's env vars (keys + values)
  • GET /v1/snapshots/{snapshotID} (without reveal) should return env var keys only (masked values)
  • This parallels the existing env var reveal pattern on services

Context

Discovered via UX Paths analysis (docs/ux-paths/topics/snapshots.md — Story 3, Security section)

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions