How to attach permission policy to user?

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

 



Hello:

I want to use the GetSessionToken method to get the temporary credentials, but according to the answer given in the official documentation, I need to attach a permission policy to the user before I can use the GetSessionToken method.

This is the command for the additional permission policy provided by the official documentation:

s3curl.pl --debug --id admin -- -s -v -X POST "http://localhost:8000/?Action="">


This requires enabling restful modules to execute this command.

I configured the restful module according to the documentation, but without success, I was unable to configure the SSL certificate.

ceph config-key set mgr/restful/crt -i restful.crt

WARNING: it looks like you might be trying to set a ceph-mgr module configuration key. Since Ceph 13.0.0 (Mimic), mgr module configuration is done with `config set`, and new values set using `config-key set` will be ignored.
set mgr/restful/crt

Can someone tell me if there is a way to configure a restful module's certificate, or if there is another way to attach permission policies to users?

Thanks,
myxingkong
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

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


  Powered by Linux