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.
ℹ️
Important: Replace
<YOUR_ENDPOINT_URL> in these examples with your specific endpoint URL. Find your endpoint in the Akave Environment page.Create a Bucket
Using aws s3api:
aws s3api create-bucket \
--bucket my-akave-bucket \
--endpoint-url <YOUR_ENDPOINT_URL>Using aws s3:
aws s3 mb s3://my-akave-bucket \
--endpoint-url <YOUR_ENDPOINT_URL>List Buckets
Using aws s3api:
aws s3api list-buckets \
--endpoint-url <YOUR_ENDPOINT_URL>Using aws s3:
aws s3 ls \
--endpoint-url <YOUR_ENDPOINT_URL>Delete a Bucket
Using aws s3api:
aws s3api delete-bucket \
--bucket my-akave-bucket \
--endpoint-url <YOUR_ENDPOINT_URL>Using aws s3:
aws s3 rb s3://my-akave-bucket \
--endpoint-url <YOUR_ENDPOINT_URL>Notes:
- 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.
Last updated on