Project

General

Profile

Bug #20476

Creating SSH Key in User Template functionality missing in hammer CLI

Added by Daniel Lobato Garcia about 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Users and roles
Target version:
-
Team Backlog:
Fixed in Releases:
Found in Releases:
In Kanboard:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1476224

Description of problem:
Creating/Deleting/Viewing/Listing SSH Key in user template functionality is completely missing from hammer CLI

Version-Release number of selected component (if applicable):
Satellite 6.3 Snap 7

How reproducible:

Steps to Reproduce:
1. Create User with required details
2. From Hammer, Attempt to add ssh key in above user
3.

Actual results:
No provision to create/delete/view/list the ssh keys from CLI hammer in user template

Expected results:
Hammer CLI should have provision to create/view/list/delete the ssh key in user template

Additional info:
Functionality is available from API


Related issues

Related to Foreman - Bug #20986: user_id parameter in ssh key create action is wrongly documentedClosed

Associated revisions

Revision d04e32f8 (diff)
Added by Sebastian Gräßl almost 4 years ago

Fixes #20476 - Add ssh-keys commands

Revision 9a0bafb1 (diff)
Added by Sebastian Gräßl almost 4 years ago

Refs #20476 - Add show command for ssh-keys

History

#1 Updated by Tomáš Strachota almost 4 years ago

  • Subject changed from Creating SSH Key in User Template functionality missing in hammer CLI to Creating SSH Key in User Template functionality missing in hammer CLI
  • Category changed from Other commands to Users and roles

#2 Updated by Tomáš Strachota almost 4 years ago

This commands should be nested in the user command:

hammer user ssh-key list ...
hammer user ssh-key create ...
hammer user ssh-key show ...
hammer user ssh-key delete ...

#3 Updated by The Foreman Bot almost 4 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/hammer-cli-foreman/pull/329 added

#4 Updated by Anonymous almost 4 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#5 Updated by Marek Hulán almost 4 years ago

  • Related to Bug #20986: user_id parameter in ssh key create action is wrongly documented added

#6 Updated by The Foreman Bot almost 4 years ago

  • Pull request https://github.com/theforeman/hammer-cli-foreman/pull/334 added

Also available in: Atom PDF