[
https://issues.apache.org/jira/browse/ACCUMULO-1412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13679189#comment-13679189
]
Christopher Tubbs edited comment on ACCUMULO-1412 at 6/12/13 8:26 PM:
----------------------------------------------------------------------
Patch [^ACCUMULO-1412-v1.patch] depends on the v3 patch from ACCUMULO-1478,
applies to trunk with {{-p1}}.
This patch allows users to specify the value to {{--password}} as any of the
following:
* pass:<password>
* file:<local file>
* env:<environment variable>
* stdin
The design is extensible for future implementations, as I know [~ctubbsii] had
expressed an interest in wiring it to gnome-keyring.
was (Author: mdrob):
Patch [^ACCUMULO-1412-v1.patch] depends on the v3 patch from ACCUMULO-1478,
applies to trunk with {{-p1}}.
This patch allows users to specify the value to {{--password}} as any of the
following:
* pass:[password]
* file:[local file]
* env:[environment variable]
* stdin
The design is extensible for future implementations, as I know [~ctubbsii] had
expressed an interest in wiring it to gnome-keyring.
> Allow shell password to come from a variety of sources
> ------------------------------------------------------
>
> Key: ACCUMULO-1412
> URL: https://issues.apache.org/jira/browse/ACCUMULO-1412
> Project: Accumulo
> Issue Type: Sub-task
> Components: shell
> Reporter: Mike Drob
> Assignee: Mike Drob
> Priority: Minor
> Fix For: 1.6.0
>
> Attachments: ACCUMULO-1412-v1.patch
>
>
> OpenSSL allows the user to read the password from a number of places,
> including a file, environment variable, file descriptor, command line
> argument, or standard in. It would be nice for accumulo to do the same, to
> ease scripting while still not revealing password through {{ps}} or it's
> brethren.
> A logical way to implement this might be using a [JCommander Custom
> Type|http://jcommander.org/#Custom_types] for the password field.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira