Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
The katello cmdline tool offers no session caching, so you have to provide an username and a password each time you use it - if you don't invoke the katello shell. This makes it more difficult to work effectively via the cmdline.
Version-Release number of selected component (if applicable):
1.4.8-1.git.4.c940d43.el6
How reproducible:
N/A
Steps to Reproduce:
N/A
Actual results:
If I would want to list all the activation keys for my Organization I would have to do:
# katello -u admin -p PASSWORD activation_key list --org MYORG
Expected results:
If there already is an active session (eg. I've recently use the 'katello' cmdline tool), it should suffice to run:
# katello activation_key list --org MYORG
Additional info:
It would be a pro from a security perspective if it also would be possible to run:
# katello logout
or etc, to terminate active sessions.
Even with shorter passwords this is quite a pain, if you have a longer / more complex password you pretty quickly grow tired of typing it :)
In the Satellite 6 the katello-cli tool will be replaced with hammer-cli (new CLI client). In hammer we have no similar concept to session caching you've described above. However hammer can read the credentials from configuration files, so you don't have to retype them and expose on command-line and in process list.
For more information you can see https://github.com/theforeman/hammer-cli/blob/master/doc/installation.md#configuration
Would this be acceptable (form user and security perspective) solution for you?