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

influx command: Use environment variable for password #6894

Closed
phemmer opened this issue Jun 22, 2016 · 0 comments
Closed

influx command: Use environment variable for password #6894

phemmer opened this issue Jun 22, 2016 · 0 comments
Assignees
Milestone

Comments

@phemmer
Copy link
Contributor

phemmer commented Jun 22, 2016

Feature Request

Proposal:

It would be useful to be able to pass the password to the influx command via an environment variable.

Current behavior:

Must either pass it as an argument, or via STDIN.

Desired behavior:

Be able to pass password via environment variable.

Use case:

Providing passwords as arguments is insecure as it's visible to anyone with access to the host. Passing via STDIN makes it difficult to pass commands via STDIN. This is important for scripting, being able to do something like:

influx <<'EOF'
lots
of
commands
EOF

Environment variables are secure, as they are only visible to the the owner of the process, or root.

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

No branches or pull requests

3 participants