Bug 958115 - [RFE] add ability to prompt for username and password when running katello CLI
Summary: [RFE] add ability to prompt for username and password when running katello CLI
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Hammer
Version: Nightly
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: Unspecified
Assignee: Katello Bug Bin
QA Contact: Katello QA List
URL:
Whiteboard:
: 1013393 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-04-30 12:38 UTC by Tom McKay
Modified: 2019-09-26 13:40 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-03-18 17:59:52 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Tom McKay 2013-04-30 12:38:15 UTC
When running the katello command line tool (katello CLI), the username and password must be specified on the command line.

katello -u admin -p password provider status
katello -u admin -p password shell

Please add a way to be prompted for at least the password:

katello -u admin shell
Password: ********
katello>

katello shell
Username: admin
Password: ********
katello>

Presumably any action that requires authentication could prompt for username and password.

Comment 3 Mike McCune 2014-03-18 17:59:52 UTC
hammer supports storing the uname/pass in the config file now

Comment 4 Mike McCune 2014-03-18 18:11:02 UTC
*** Bug 1013393 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.