Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

infisical-cli secrets set prints secrets by default #2873

Open
felixhummel opened this issue Dec 12, 2024 · 0 comments
Open

infisical-cli secrets set prints secrets by default #2873

felixhummel opened this issue Dec 12, 2024 · 0 comments

Comments

@felixhummel
Copy link
Contributor

We run infisical in CI to set secrets generated by a deployment, e.g.

infisical secrets set foo=bar

infisical prints the following to our job logs

┌─────────────┬──────────────┬────────────────┐
│ SECRET NAME │ SECRET VALUE │ STATUS         │
├─────────────┼──────────────┼────────────────┤
│ foo         │ bar          │ SECRET CREATED │
└─────────────┴──────────────┴────────────────┘

Preferably this should not be the default, because secrets belong in infisical, not in the output.

Alternatively, there should be a --quiet flag (and a INFISICAL_QUIET env var) to suppress this output

Workaround

infisical secrets set foo=bar >/dev/null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant