Project

General

Profile

Actions

Bug #17449

open

API does not allow to request passwords

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

Status:
New
Priority:
Normal
Assignee:
-
Category:
API
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

At least

GET /api/compute_resources/:id
GET /api/architectures/:architecture_id/images/:id

do note return the compute resource / image password. This makes it hard for systems like ansible0 to decide if they need to update a resource. It would be great if one would be able to query this as well, maybe via a special role?

[0]: https://github.com/Nosmoht/ansible-module-foreman/pull/47

Actions #1

Updated by Amit Karsale almost 7 years ago

Do you mean the API response should return the `password` field value ?

Actions #2

Updated by Guido Günther over 6 years ago

Amit Karsale wrote:

Do you mean the API response should return the `password` field value ?

Yes. It would be fine if it would not include it by default and e.g. required a special role for the user requesting it.

Actions

Also available in: Atom PDF