Re: ceph restful key permissions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Cédric,

as far as I am aware, you can create users with "read-only" role from: POST /api/user
https://docs.ceph.com/en/latest/mgr/ceph_api/#post--api-user

 then, you should be able to retrieve a token with this user's credentials from: POST /api/auth
https://docs.ceph.com/en/latest/mgr/ceph_api/#post--api-auth

This token will hold read-only access.

Hope that works,
Pedro.

________________________________
From: cedric.bassaget@xxxxxxxxx <cedric.bassaget@xxxxxxxxx> on behalf of BASSAGET Cédric <cedric.bassaget.ml@xxxxxxxxx>
Sent: Tuesday, September 9, 2025 11:02 AM
To: ceph-users@xxxxxxx <ceph-users@xxxxxxx>
Subject: [EXTERNAL]  ceph restful key permissions

Hello,
I'm trying to create a restful api key with read-only permissions, but I
didn't find the way to do that.
Is that doable ?

Regards
Cédric
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx

Unless otherwise stated above:

International Business Machines, S.A.
Plaza Pablo Ruiz Picasso 11
Plantas 4a y 5a
28020 Madrid
Registro Mercantil de Madrid; Folio 1; Tomo 1525; Hoja M-28146
CIF A-28010791
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux