You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/NooBaaNonContainerized/S3Ops.md
+7-3Lines changed: 7 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -45,9 +45,11 @@ The following lists describe the bucket and object operations available in NooBa
45
45
- Bucket policies are an access policy option available to grant permission to buckets and objects (see [bucket policy](https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucket-policies.html) in AWS documentation). You can use bucket policies to add or deny permissions for the objects in a bucket. Bucket policies can allow or deny requests based on the elements in the policy.
46
46
- Bucket policies use JSON-based policy language (for more information see [basic elements in bucket policy](https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-policy-language-overview.html) in AWS documentation)
47
47
- Bucket policy can be added to a bucket using the S3 API or the noobaa-cli.
48
+
- Bucket policy is an additional layer of permission to the FS permission (UID and GID), which mean that if two accounts do not have the same permissions (UID, GID) just setting bucket policy on the bucket is not enough.
48
49
49
50
**Prerequisites**
50
-
An account and an bucket, for bucket policy management using the S3 API you would use the NooBaa service.
51
+
2 accounts and an bucket owned by one of the accounts.
52
+
For bucket policy management using the S3 API you would use the NooBaa service.
51
53
52
54
#### Bucket Policy in NooBaa CLI
53
55
1. Adding a bucket policy:
@@ -60,7 +62,8 @@ In both cases the argument for the bucket policy is a string
0 commit comments