Ceph RADOS Gateway admin operations REST API
Project description
Python REST API for the Ceph RADOS Gateway (radosgw) admin operations
http://ceph.com/docs/master/radosgw/adminops/
Requirement
boto
Installation
To install the package use pip:
pip install radosgw-admin
Or install directly with:
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 the radosgw-admin command 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
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.2.tar.gz
(11.9 kB
view hashes)
Built Distribution
Close
Hashes for radosgw_admin-1.1.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f819536b43fc7b62052c6d38d731e8e29efdd8b46611391b3cd6c4b59d1e7f43 |
|
MD5 | 6226f7ebe58c36c7a11c9c1eabc726d6 |
|
BLAKE2b-256 | 960dac70d04f5acd316317431e45344d9272d852168ad83abfd9e62f453e64eb |