Skip to content

fix(env): env var set response partially masks connection string values #108

Description

@dennisonbertram

Problem

Database provisioning Story 5 (Wire Database to Service) shows the env var set response partially masking the DATABASE_URL:

{"DATABASE_URL": "postgres://ah:****@127.0.0.1:5456/ah?sslmode=disable"}

But env-management STORY-001 and STORY-002 show full masking:

{"DATABASE_URL": "********"}

This is inconsistent. If the response masks values, it should mask them completely to prevent leaking connection string structure (host, port, database name).

Expected Behavior

  • Env var set response should consistently mask ALL values with "********" (as documented in env-management stories)
  • No partial masking that reveals connection string structure
  • The reveal=true endpoint should be the only way to see any part of the value

Context

Discovered via UX Paths analysis (docs/ux-paths/topics/database-provisioning.md — Story 5 vs docs/ux-paths/topics/env-management.md — STORY-001, STORY-002)

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