Torch Object Storage
Method | Principal | Action | Condition | Use cases |
IAM policy | IAM users | All. | Supported |
|
Bucket policy |
|
| ||
Bucket ACL |
|
| Not supported | When authorizing IAM users in another account or all users to read or write all objects in a bucket. tip Only an account can grant permissions to other accounts. |
Object ACL |
|
| Not supported | When granting permissions (private, public read, or public read/write) to a single object. |
Parameter | Type | Bucket policy | IAM policy | ACL |
Principal (authorized user) | IAM users within the same account | ✔️ | ✔️ | ❌ |
| Other accounts | ✔️ | ❌ | ✔️ |
| IAM users in another account | ✔️ | ❌ | ❌ |
| All users | ✔️ | ❌ | ✔️ |
Effect (action to take) | Allow | ✔️ | ✔️ | ✔️ |
| Deny | ✔️ | ✔️ | ❌ |
Resource (authorized resource) | All TOS resources | ❌ | ✔️ | ❌ |
| A TOS bucket | ✔️ | ✔️ | ✔️ |
| A group of specified TOS objects | ✔️ | ✔️ | ❌ |
| A TOS object | ✔️ | ✔️ | ✔️ |
Action | Service-level permissions (creating buckets or listing all buckets) | ❌ | ✔️ | ❌ |
| Specific permissions on buckets or objects | ✔️ | ✔️ | ❌ |
| Read/write permissions on buckets or objects | ✔️ | ✔️ | ✔️ |
Condition | Conditions for applying permissions | ✔️ | ✔️ | ❌ |