Using Object Storage with upctl
This example demonstrates how to create and manage an object storage service, including managing buckets and configuring S3-compatible access via access keys.
Set environment variables for convenience:
Create a managed object storage service:
upctl object-storage create --name ${prefix}service --network type=public,name=${prefix}network,family=IPv4 --region ${region}
List all buckets in your service (will be empty at this point):
Create a new bucket:
Create a user and an access key for S3-compatible access:
upctl object-storage user create ${prefix}service --username ${prefix}user
upctl object-storage access-key create ${prefix}service --username ${prefix}user
Once not needed anymore, delete the user:
Delete also the managed object storage service along with its buckets: