-
Notifications
You must be signed in to change notification settings - Fork 43
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
Password support #16
Comments
Should be fairly simple, for security it would be pref. to use a file
rather then argument or env.
…On Fri, Feb 3, 2017 at 12:52 PM, Dave Walk ***@***.***> wrote:
We would love to use this tool programmatically, but running into issues
with passing the password. Would you be open to a PR that added support for
using a flag or environment variables or something else? I'm willing to
work on it, just wanted to get your thoughts on the best strategy.
Thanks!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#16>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABDFoc3Yif0q1xPcjwKd82S8ctAiyXoKks5rY3d-gaJpZM4L2rYV>
.
|
Something like:
etcdtool --password-file <file> ...
On Fri, Feb 3, 2017 at 12:53 PM, Michael Persson <
michael.ake.persson@gmail.com> wrote:
… Should be fairly simple, for security it would be pref. to use a file
rather then argument or env.
On Fri, Feb 3, 2017 at 12:52 PM, Dave Walk ***@***.***>
wrote:
> We would love to use this tool programmatically, but running into issues
> with passing the password. Would you be open to a PR that added support for
> using a flag or environment variables or something else? I'm willing to
> work on it, just wanted to get your thoughts on the best strategy.
>
> Thanks!
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <#16>, or mute the thread
> <https://github.com/notifications/unsubscribe-auth/ABDFoc3Yif0q1xPcjwKd82S8ctAiyXoKks5rY3d-gaJpZM4L2rYV>
> .
>
|
And the file would just be:
? |
The file would contain the password, the reason for this is that you can
restrict perm. of a file. Where as an argument may be visible in ps.
…On Fri, Feb 3, 2017 at 1:08 PM, Dave Walk ***@***.***> wrote:
And the file would just be:
password
?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#16 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABDFodB6loxqEDa6jNoedLGWJoSVl3Bpks5rY3sYgaJpZM4L2rYV>
.
|
Gotcha, ok, I'll start working on this |
Cool, just give me a pull req once it's done.
…On Fri, Feb 3, 2017 at 1:19 PM, Dave Walk ***@***.***> wrote:
Gotcha, ok, I'll start working on this
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#16 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABDFoXcMOSVP6LC4jgX1dbCEzDCEZcVAks5rY326gaJpZM4L2rYV>
.
|
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We would love to use this tool programmatically, but running into issues with passing the password. Would you be open to a PR that added support for using a flag or environment variables or something else? I'm willing to work on it, just wanted to get your thoughts on the best strategy.
Thanks!
The text was updated successfully, but these errors were encountered: