1
0
mirror of https://github.com/gluster/glusterd2.git synced 2026-02-05 12:45:38 +01:00
Files
glusterd2/glustercli
Prashanth Pai c8382f0c83 cli: Add support for reading secret from ENV
With this change, secret is taken by CLI in following order of
precedence (highest to lowest):
--secret
--secret-file
GLUSTERD2_AUTH_SECRET (environment variable)
--secret-file (default path)

The command-line flag '--authfile' has been renamed to '--secret-file'
to be consistent with the flag `--secret`.

Signed-off-by: Prashanth Pai <ppai@redhat.com>
2018-07-17 12:03:13 +05:30
..