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

CLI: Full Configuration via Environment Variables #2968

Open
felixhummel opened this issue Jan 10, 2025 · 0 comments
Open

CLI: Full Configuration via Environment Variables #2968

felixhummel opened this issue Jan 10, 2025 · 0 comments

Comments

@felixhummel
Copy link
Contributor

Why would it be useful?

Poorly legible:

# env contains INFISICAL_API_URL, INFISICAL_PROJECT_ID, INFISICAL_UNIVERSAL_AUTH_CLIENT_ID, INFISICAL_UNIVERSAL_AUTH_CLIENT_SECRET
export INFISICAL_TOKEN=$(infisical login --method=universal-auth --silent --plain)
infisical secrets --silent --projectId=$INFISICAL_PROJECT_ID set --path /some-path foo=bar

Should be

infisical secrets --silent set --path /some-path foo=bar

Additional context

I dislike the extra --path option. Better UX would be

echo bar | infisical secrets set /some-path/foo
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