Re: Dump/Add users yaml/json

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

 



Hi Albert,

I think json format is not supported to add or change users.
But you could use:

https://docs.ceph.com/en/reef/rados/operations/user-management/#importing-a-user

and the -i is also available for ceph auth add and other commands.

https://docs.ceph.com/en/reef/rados/operations/user-management/#adding-a-user

Joachim

  joachim.kraftmayer@xxxxxxxxx

  www.clyso.com

  Hohenzollernstr. 27, 80801 Munich

Utting | HR: Augsburg | HRB: 25866 | USt. ID-Nr.: DE275430677



Am Fr., 29. Nov. 2024 um 18:17 Uhr schrieb Albert Shih <Albert.Shih@xxxxxxxx
>:

> Hi everyone,
>
> Stupid question....after some test I was able to dump a user caps with
>
>   ceph auth get --format json
>
> but I'wasn't able to find the other way, something
>
>   ceph auth add fubar.json
>
> Is they are any way to add a user (without given a key and with a key).
>
> Regards
> --
> Albert SHIH 🦫 🐸
> Observatoire de Paris
> France
> Heure locale/Local time:
> ven. 29 nov. 2024 18:12:35 CET
> _______________________________________________
> ceph-users mailing list -- ceph-users@xxxxxxx
> To unsubscribe send an email to ceph-users-leave@xxxxxxx
>
_______________________________________________
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