Project

General

Profile

Bug #14701

API does not allow to set image password

Added by Guido Günther about 4 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Category:
API
Target version:
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

It seems the API does not allow to set the image password:

param :name, String, :required => true
param :username, String, :required => true
param :uuid, String, :required => true
param :compute_resource_id, String, :desc => N_("ID of compute resource")
param :architecture_id, String, :desc => N_("ID of architecture")
param :operatingsystem_id, String, :desc => N_("ID of operating system")
param :user_data, :bool, :desc => N_("Whether or not the image supports user data"), :allow_nil => true

Is this an intentional omission (maybe due to sensitive data)? Otherwise I can cook up a patch.

Associated revisions

Revision e9c175b8 (diff)
Added by Guido Günther about 4 years ago

Fixes #14701: Mention image password in API docs and tests

Setting the image password is well supported but not documented.

Revision 5c839617 (diff)
Added by Guido Günther about 4 years ago

Fixes #14701: Mention image password in API docs and tests

Setting the image password is well supported but not documented.

(cherry picked from commit e9c175b853f7fd23d8c5c77ff323165055962d70)

History

#1 Updated by Dominic Cleal about 4 years ago

  • Category set to API

It should be possible to set the password, but probably not retrieve it.

#2 Updated by The Foreman Bot about 4 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Guido Günther
  • Pull request https://github.com/theforeman/foreman/pull/3487 added

#3 Updated by Guido Günther about 4 years ago

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

#4 Updated by Dominic Cleal about 4 years ago

  • Legacy Backlogs Release (now unused) set to 155

Also available in: Atom PDF