gswauth cli should be able to accept password/key as user input like ssh
Steps:-
Currently gswauth is able to accept password/key only as CLI parameters or as env variables.It would be good if it could accept passwords as a user input like ssh and other utilities does.
# swauth-prep -K gswauthkey
# swauth-prep -K
Usage: swauth-prep [options]
swauth-prep: error: -K option requires an argument
# swauth-prep
Usage: swauth-prep [options]
Options:
-h, --help show this help message and exit
-A ADMIN_URL, --admin-
-U ADMIN_USER, --admin-
-K ADMIN_KEY, --admin-
################ This is what i am looking for:-
# ssh root@localhost
The authenticity of host 'localhost (::1)' can't be established.
RSA key fingerprint is 0e:6c:ef:
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'localhost' (RSA) to the list of known hosts.
root@localhost's password:
Version Info :-
glusterfs-
Blueprint information
- Status:
- Not started
- Approver:
- Luis Pabón
- Priority:
- Low
- Drafter:
- pushpesh
- Direction:
- Approved
- Assignee:
- Thiago da Silva
- Definition:
- Approved
- Series goal:
- Accepted for icehouse
- Implementation:
- Not started
- Milestone target:
- None
- Started by
- Completed by
Related branches
Related bugs
Sprints
Whiteboard
I think the requirement would be if no password is given, to then ask the user for the password.