Project

General

Profile

Actions

Feature #10347

closed

add login subcommand to hammer

Added by Justin Garrison almost 9 years ago. Updated almost 7 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
Team Backlog:
Fixed in Releases:
Found in Releases:
In Kanboard:

Description

If you need to do a lot of updates with hammer you can either specify a username/password for each command or use shell. It would be nice if hammer could also use certificate based authentication for a user (similar to pulp-admin) to allow commands to be run using the certificate instead of needing username and password. Certificates would also be more secure than specifying username and password in plaintext yml config files.

Ideally certificates would be used first so you could temporarily override a user in the config file.

for example, I could have a read only user in my config file but if I need to do updates I would use hammer login to get a certificate and use that certificate to authenticate as a user who has more access to systems.

Actions #1

Updated by Anonymous almost 7 years ago

Martin, Tomas, is that resolved with the recent certificate work in hammer?

Actions #2

Updated by Tomáš Strachota almost 7 years ago

  • Status changed from New to Resolved

We don't use certificates but the described behavior is implemented by sessions. Users can now use 'hammer auth login/logout' to open or close a session.

Marking the issue as resolved.

Actions

Also available in: Atom PDF