Ich habe mit eosctl organization client-credential create --name eosprodcli --expires-at 2026-10-10T00:00:00Z neue Credentials erzeugt und folgende Ausgabe erhalten:
┌───────────────────────────────────────────────────────────────┐
| property | value |
| ------------------------------------------------------------- |
| _actions | null |
| _self | |
| assignment_id | 019fd89e-8912-7419-8dc5-a230efdae215 |
| assignment_type | realm |
| created_at | null |
| deleted_at | null |
| expires_at | 2026-10-10T00:00:00Z |
| grid | |
| id | 01a0a15c-e5d1-7f01-bb1d-a714b204d361 |
| name | eosprodcli |
| roles | null |
| secret | XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX |
| updated_at | null |
└───────────────────────────────────────────────────────────────┘
Alles anzeigen
Sollte created_at hier nicht bereits gefüllt sein? Und _actions?
Anschließend habe ich eine Rolle hinzugefügt:
$ eosctl organization client-credential patch 01a0a15c-e5d1-7f01-bb1d-a714b204d361 --roles compute:vm-manager
┌────────────────────────────────────────────────────────┐
| property | value |
| ------------------------------------------------------ |
| _actions | null |
| _self | |
| assignment_id | |
| assignment_type | |
| created_at | null |
| deleted_at | null |
| expires_at | null |
| grid | |
| id | 01a0a15c-e5d1-7f01-bb1d-a714b204d361 |
| name | |
| roles | - compute:vm-manager |
| secret | null |
| updated_at | null |
└────────────────────────────────────────────────────────┘
Alles anzeigen
Auch hier wurde für mehrere Werte null geliefert, wo eigentlich etwas stehen sollte. Die Credentials funktionierten aber und ich konnte damit z. B. eosctl compute vm list aufrufen.
Danach habe ich patch ohne Parameter aufgerufen:
$ eosctl organization client-credential patch 01a0a15c-e5d1-7f01-bb1d-a714b204d361
┌────────────────────────────────────────────────────────┐
| property | value |
| ------------------------------------------------------ |
| _actions | null |
| _self | |
| assignment_id | |
| assignment_type | |
| created_at | null |
| deleted_at | null |
| expires_at | null |
| grid | |
| id | 01a0a15c-e5d1-7f01-bb1d-a714b204d361 |
| name | |
| roles | null |
| secret | null |
| updated_at | null |
└────────────────────────────────────────────────────────┘
Alles anzeigen
Eigentlich hatte ich eine Fehlermeldung erwartet, daß ich die Parameter vergessen habe, oder ist das so gewollt? Die Rolle wurde durch den Aufruf "halb" entfernt, d. h. bei einem get-Aufruf kommt null zurück, aber in der Web-UI wird sie noch angezeigt.
$ eosctl organization client-credential get 01a0a15c-e5d1-7f01-bb1d-a714b204d361
┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
| property | value |
| --------------------------------------------------------------------------------------------------------------------- |
| _actions | - _update |
| | - _delete |
| _self | https://organization.eoscloud.io/v1/client-credentials/01a0a15c-e5d1-7f01-bb1d-a714b204d361 |
| assignment_id | 019fd89e-8912-7419-8dc5-a230efdae215 |
| assignment_type | realm |
| created_at | 2026-09-14T19:20:15Z |
| deleted_at | null |
| expires_at | 2026-10-10T00:00:00Z |
| grid | grid.eoscloud.io/organization/019fd89e-8912-7419-8dc5-a230efdae215/root/client-credential/01a0a15c- |
| | e5d1-7f01-bb1d-a714b204d361 |
| id | 01a0a15c-e5d1-7f01-bb1d-a714b204d361 |
| name | |
| roles | null |
| secret | null |
| updated_at | 2026-09-14T19:32:35.78038Z |
└───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
Alles anzeigen
Und ich kann die Credentials nun auch nicht mehr verwenden:
$ eosctl compute vm list
type='https://specs.eoscloud.io/http-problem-type-error', request_id='01a0a17e-5c01-76fa-a392-f7313acf65c1', errors=[path='', kind='compute.vms.errors.error', message='Server Error (500)', context='map[]']