DopplerHQ / DopplerHQ/cli

Interactive secret creation fails to persist (doppler secrets set without value)

Open
#532 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
396
Forks
83
Avg merge
1d 2h
Merged PRs (30d)
3

Description

When using the interactive mode of doppler secrets set, the CLI accepts input from stdin but fails to create/persist the secret.

Environment

  • Doppler CLI: v3.75.3
  • OS: macOS

Steps to Reproduce

  1. Run: doppler secrets set SECRET_NAME
  2. Enter a value at the interactive prompt
  3. Press Enter to submit
  4. Expected: Secret is created in Doppler
  5. Actual: Secret is not created (no error message)

Expected Behavior

The secret should be created and persisted in Doppler after providing a value interactively.

Additional Context

The help text shows that interactive stdin is a supported method:

doppler secrets set CERT
multiline
value
.

But it appears to fail in practice. The --no-interactive flag exists to disable interactive mode, but there's no explicit --interactive flag to enable it (it should be implicit when no value is provided).

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the doppler secrets set SECRET_NAME command and its interactive stdin path in the Go CLI. Reproduce the behavior with no value argument, then verify that entering a value and pressing Enter persists the secret without --no-interactive.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli, security
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.