Replies: 1 comment
-
Here is a workaround so you can use the library anyway. In your script where you load boto explicitely add colon import boto3
from botocore.config import Config
import botocore.handlers
import re
botocore.handlers.VALID_BUCKET = re.compile(r'^[:a-zA-Z0-9.\-_]{1,255}$')
[...]
# Specify the bucket name including the tenant
bucket_name = "tenant:bucketname"
# Example: List objects in the bucket
response = s3_client.list_objects_v2(Bucket=bucket_name)
[...] |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, how do I use boto3 with multi-tenancy on Ceph S3?
The following fails:
with the following error:
Link to the ceph docs:
https://docs.ceph.com/en/latest/radosgw/multitenancy/
Beta Was this translation helpful? Give feedback.
All reactions