Create, List, Delete Buckets
Akave O3 is fully compatible with AWS CLI tooling. You can use both aws s3api and higher-level aws s3 commands to interact with decentralized buckets and objects - all through, for example, the IPC API https://o3-rc2.akave.xyz endpoint.
Create a Bucket
Using aws s3api:
aws s3api create-bucket \
--bucket my-akave-bucket \
--endpoint-url https://o3-rc2.akave.xyzUsing aws s3:
aws s3 mb s3://my-akave-bucket \
--endpoint-url https://o3-rc2.akave.xyzList Buckets
Using aws s3api:
aws s3api list-buckets \
--endpoint-url https://o3-rc2.akave.xyzUsing aws s3:
aws s3 ls \
--endpoint-url https://o3-rc2.akave.xyzDelete a Bucket
Using aws s3api:
aws s3api delete-bucket \
--bucket my-akave-bucket \
--endpoint-url https://o3-rc2.akave.xyzUsing aws s3:
aws s3 rb s3://my-akave-bucket \
--endpoint-url https://o3-rc2.akave.xyzNotes:
- Make sure your bucket is empty before deleting it. The operation will fail otherwise!
- Akave has object versioning enabled by default, so to delete objects you must delete each object version. Specific instructions for deleting object versions can be found in the Object Versioning and Copying section.
- After a bucket has been deleted a bucket cannot be created with the same name across the O3 instance, so be careful when deleting!
Last updated on