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: [email protected] <[email protected]> on behalf of 
BASSAGET Cédric <[email protected]>
Sent: Tuesday, September 9, 2025 11:02 AM
To: [email protected] <[email protected]>
Subject: [EXTERNAL] [ceph-users] 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 -- [email protected]
To unsubscribe send an email to [email protected]

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 -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to