Ceph RADOS Gateway admin operations REST API
Project description
# python-radosgw-admin
Python REST API for the Ceph RADOS Gateway (radosgw) admin operations
http://ceph.com/docs/master/radosgw/adminops/
## Requirement
- boto
## Installation
python setup.py install
## Configuration of the admin user
Create or modify a user/bucket in radosgw with the following capabilities (caps):
"caps": [
{ "type": "buckets",
"perm": "*"},
{ "type": "usage",
"perm": "read"},
{ "type": "metadata",
"perm": "read"},
{ "type": "users",
"perm": "*"}
]
You can use `radosgw-admin` to add capabilities to an existing user:
radosgw-admin caps add --uid <USER_ID> --caps "buckets=read,write"
radosgw-admin caps add --uid <USER_ID> --caps "users=read,write"
## Example
See the example in [examples/radosgw-admin-example.py](https://github.com/valerytschopp/python-radosgw-admin/blob/master/examples/radosgw-admin-example.py)
Python REST API for the Ceph RADOS Gateway (radosgw) admin operations
http://ceph.com/docs/master/radosgw/adminops/
## Requirement
- boto
## Installation
python setup.py install
## Configuration of the admin user
Create or modify a user/bucket in radosgw with the following capabilities (caps):
"caps": [
{ "type": "buckets",
"perm": "*"},
{ "type": "usage",
"perm": "read"},
{ "type": "metadata",
"perm": "read"},
{ "type": "users",
"perm": "*"}
]
You can use `radosgw-admin` to add capabilities to an existing user:
radosgw-admin caps add --uid <USER_ID> --caps "buckets=read,write"
radosgw-admin caps add --uid <USER_ID> --caps "users=read,write"
## Example
See the example in [examples/radosgw-admin-example.py](https://github.com/valerytschopp/python-radosgw-admin/blob/master/examples/radosgw-admin-example.py)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
radosgw-admin-1.1.1.tar.gz
(10.9 kB
view hashes)
Built Distribution
Close
Hashes for radosgw_admin-1.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5d36624c14e5ee645cec7e305615a72214cb0bb3c561cd4b94e05e9c8bbd335 |
|
MD5 | 6d7ade95fe0073420a03cd695267e72e |
|
BLAKE2b-256 | 5d8758e65cace394ab39a0cb6f62ac46a653daf5b021d8e5ff4dfe10577a966b |