[ceph-users] Re: ACL for user in another teant

2020-05-13 Thread Pritha Srivastava
Hi Vishwas, Bucket policy should let you access buckets in another tenant. What exact command are you using? Thanks, Pritha On Thursday, May 14, 2020, Vishwas Bm wrote: > > Hi, > > > > I have two users both belong to different tenant. > > > > Can I give permission for the user in another tenan

[ceph-users] Re: ACL for user in another teant

2020-05-14 Thread Vishwas Bm
Hi Pritha, Thanks for the reply. Please find the user list, bucket list and also the command which I have used. [root@vishwas-test cluster]# radosgw-admin user list [ "tenant2$Jerry", "tenant1$Tom" ] [root@vishwas-test cluster]# radosgw-admin bucket list [ "tenant2/jerry-bucket" ] [

[ceph-users] Re: ACL for user in another teant

2020-05-14 Thread Vishwas Bm
When I tried as below also, similar error is coming: [root@vishwas-test cluster]# s3cmd --access_key=GY40PHWVK40A2G4XQH2D --secret_key=bKq36rs5t1nZEL3MedAtDY3JCfBoOs1DEou0xfOk ls s3://tenant2/jerry-bucket ERROR: Bucket 'tenant2' does not exist ERROR: S3 error: 404 (NoSuchBucket) [root@vishwas-te

[ceph-users] Re: ACL for user in another teant

2020-05-14 Thread Pritha Srivastava
Hi Vishwas, In the following bucket policy: Policy:{ "Version": "2012-10-17", "Statement": [ { "Principal": {"AWS": ["arn:aws:iam::tenant1:user/Tom"]}, "Action": ["s3:ListBucket"], "Effect": "Allow", "Resource": "s3://tenant2/jerry-bucket" } ] } 'Resource'

[ceph-users] Re: ACL for user in another teant

2020-05-14 Thread Vishwas Bm
Hi Prita, Thanks for the response. Yes, with boto package I was able to access the bucket content. *Thanks & Regards,* *Vishwas * On Thu, May 14, 2020 at 9:32 PM Pritha Srivastava wrote: > Hi Vishwas, > > In the following bucket policy: > Policy:{ > "Version": "2012-10-17", > "State