Hi All,

I am trying to use the ceph admin oops api in the Admin Operations — Ceph Documentation. Currently i am trying the following method to display the usages

curl -i 'http://ceph-gateway/admin/usage?format=json' -X GET -H 'Authorization: AWS <access-key>hash-of-header-and-secret>' -H 'Host: ceph-gateway' -H 'Content-Length: 0'

But i am getting the access denied and 403 error as the result of the above line?

If anyone knows, could you please explain how we can use the ceph admin oops api functions using php and curl ? also could you please check if there any error in the way which used above ?

Thanks in advance..