Bug 787315

Summary: Creating SSH key through rest api doesn't support POSTing XML or JSON
Product: OKD Reporter: Clayton Coleman <ccoleman>
Component: PodAssignee: Lili Nader <lnader>
Status: CLOSED NOTABUG QA Contact: libra bugs <libra-bugs>
Severity: high Docs Contact:
Priority: medium    
Version: 2.xCC: aboone, mfisher, rmillner
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-09 20:29:58 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Clayton Coleman 2012-02-03 22:42:01 UTC
Looking at keys_controller.rb I don't see a way to post the model object for a key to /user/keys - neither:

{name: "name", type: "type", key: "key"}

or

<ssh_key><name>...</name><type>...</type><key>...</key></ssh_key>

seem to be supported.

Comment 1 Alex Boone 2012-02-09 20:29:58 UTC
This actually appears to be working just fine.