Hide Forgot
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 :)
As I'm a RHN Satellite 5 user, I'm comparing the katello cmdline tool against Spacewalks/RHN Satellite 5's spacecmd :)
moving to our downstream product to include this. Our CLI is undergoing a lot of work and this may be included
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?
Hey Martin, thanks, that's an acceptable solution.
Closing CURRENTRELEASE as this is now available in Satellite 6.0