we should support non-interactive user password reset
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-openstackclient |
Fix Released
|
Medium
|
Ramaraja |
Bug Description
Currently user password update require interactive prompting of user's old/original password.
openstack user password set ...
This is problematic because
1) it does not support non-interactive applications so we can't really use it for automation
2) user password update has always be a self-service API (different from admin password reset API) so prompting for the old password is redundant because you need it to get the authorization token to begin with. i.e. the old password is already specified via either OS_PASSWORD env var or --os-password command line arg.
We should prompt for the old password only if we are running openstack CLI in interactive mode or password is not specified via either OS_PASSWORD env var or --os-password arg. Alternatively, we could support an new --os-original-
Changed in python-openstackclient: | |
assignee: | nobody → Ramaraja (ramaraja-r) |
yep, makes sense.