Project

General

Profile

Actions

Bug #14701

closed

API does not allow to set image password

Added by Guido Günther over 8 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Category:
API
Target version:
Difficulty:
Triaged:
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.

Actions #1

Updated by Dominic Cleal over 8 years ago

  • Category set to API

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

Actions #2

Updated by The Foreman Bot over 8 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
Actions #3

Updated by Guido Günther over 8 years ago

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

Updated by Dominic Cleal over 8 years ago

  • Translation missing: en.field_release set to 155
Actions

Also available in: Atom PDF