Actions
Bug #17449
openAPI does not allow to request passwords
Status:
New
Priority:
Normal
Assignee:
-
Category:
API
Target version:
-
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
Updated by Amit Karsale almost 7 years ago
Do you mean the API response should return the `password` field value ?
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