Torch Object Storage
Parameter | "Effect":"Deny" | "Effect":"Allow" |
Parameter | "Effect":"Deny" | "Effect":"Allow" |
NotPrincipal | Denies certain permissions to all users except those specified in NotPrincipal. | Not supported |
NotResource | Denies users access to any resource except those specified in NotResource. | Not supported |
NotAction | Denies users permission to perform any action except those specified in NotAction. | Allows users to perform any action except those specified in NotAction. |
Category | Parameter | Description |
Category | Parameter | Description |
Basic configuration | Policy configuration method | Use the default option, i.e., Visual view. |
| Policy name | Enter a name for the policy. The policy name must be unique within a bucket. |
Effect | Effect | Select the effect of the policy. In this example, we select Deny.
|
Authorized user | Authorized user | Use the default option, i.e., Specified account. |
| Other accounts | Select Current main account. Then, click Add Field and select the IAM user you want to authorize from the drop-down menu under Sub account name. In this example, we use example_a. |
| User Policy | Select Exclude the above users. |
Resource | Resource scope | Select Objects in bucket and Specified object(s). Then, click Add Field and set Resource path to test/*. Follow these guidelines when specifying a resource:
|
| Resource strategy | Select Include the above resources. |
Action | General Action | Leave this section empty. |
| Bucket Action | |
| Object Action | Select GetObject, PutObject, DeleteObject, GetObjectVersion, and DeleteObjectVersion. |
| Operational strategy | Use the default option, i.e., Include the above actions. The options are explained below when Effect is Deny.
tip The "Exclude the above actions" option is used only to deny users permission to perform certain actions. It does not grant permissions. To grant users permission to perform certain actions, you must also create the corresponding permission policies. |
Condition (Optional) | - | Click the Add Field icon and set the condition and value. |
Category | Parameter | Description |
Category | Parameter | Description |
Basic configuration | Policy configuration method | Use the default option, i.e., Visual view. |
| Policy name | Enter a name for the policy. The policy name must be unique within a bucket. |
Effect | Effect | Select the effect of the policy. In this example, we select Deny.
|
Authorized user | Authorized user | Use the default option, i.e., Specified account. |
| Other accounts | Select Current main account. Then, click Add Field and select the IAM user you want to authorize from the drop-down menu under Sub account name. In this example, we use example_a. |
| User Policy | Select Include the above users. |
Resource | Resource scope | Select Objects in bucket and Specified object(s). Then, click Add Field and set Resource path to test/*. Follow these guidelines when specifying a resource:
|
| Resource strategy | Select Exclude the above resources. |
Action | General Action | Leave this section empty. |
| Bucket Action | |
| Object Action | Select GetObject, PutObject, DeleteObject, GetObjectVersion, and DeleteObjectVersion. |
| Operational strategy | Use the default option, i.e., Include the above actions. The options are explained below when Effect is Deny.
tip The "Exclude the above actions" option is used only to deny users permission to perform certain actions. It does not grant permissions. To grant users permission to perform certain actions, you must also create the corresponding permission policies. |
Condition (Optional) | - | Click the Add Field icon and set the condition and value. |
Category | Parameter | Description |
Category | Parameter | Description |
Basic configuration | Policy configuration method | Use the default option, i.e., Visual view. |
| Policy name | Enter a name for the policy. The policy name must be unique within a bucket. |
Effect | Effect | Select the effect of the policy. In this example, use the default value.
|
Authorized user | Authorized user | Use the default option, i.e., Specified account. |
| Other accounts | Select Current main account. Then, click Add Field and select the IAM user you want to authorize from the drop-down menu under Sub account name. In this example, we use example_a. |
Resource | Resource scope | Select Objects in bucket and Specified object(s). Then, click Add Field and set Resource path to test/*. Follow these guidelines when specifying a resource:
|
Action | General Action | Leave this section empty. |
| Bucket Action | Select DeleteBucket. |
| Object Action | Select DeleteObject. |
| Operational strategy | Select Exclude the above actions. This option allows users to perform any action except those specified. |
Condition (Optional) | - | It is optional. Click the Add Field icon and set the condition and value. |