Uploading file from admin to other users bucket in multi tenant mode
29 Nov
2023
29 Nov
'23
7:21 p.m.
Hi, I have set following permission to admin user: radosgw-admin caps add --uid=admin --tenant=admin --caps="users=*;buckets=*" Now I would like to upload some object with admin user to some other user/tenant (tester1$tester1) to his bucket test1. Other user has uid tester1 and tenant tester1 and bucket test1 created. I've tried with python: headers = {'x-amz-meta-tenancy': 'tester1'} client.upload_file(file_path, bucket_name, object_name, ExtraArgs={'Metadata': headers}) But I get response: An error occurred (NoSuchBucket) when calling the PutObject operation: None Any ideas why I get this error even though bucket test1 for tester1$tester1 exists? Kind regards, Rok
1028
Age (days ago)
1028
Last active (days ago)
0 comments
1 participants
participants (1)
-
Rok Jaklič