Torch Object Storage
Parameter | Description |
Parameter | Description |
access key | The access key ID (AK) for User bbb. For instructions on how to view the AK and SK, see Viewing the Access Key ID and Secret Access Key. |
secret key | The secret access key (SK) for User bbb. |
endpoint | TOS external access domain name. |
region | The region where the "test" bucket is located. |
Parameter | Description |
Parameter | Description |
file_url | The path for a local file. To upload multiple objects, add multiple file_url values to the command and separate them with commas (,). tip You can also use tosutil to upload folders or a list of objects. For instructions, see Upload objects (cp). |
bucket | Specifies the name of the bucket being reported. |
prefix | The prefix used for filtering objects in batch operations. |
-acl | Sets the predefined access control lists (ACLs) for objects to be uploaded or copied. Possible values:
|
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. Under Sub account name, click Add Field and select User ccc from the dropdown menu. |
Resource | Resource scope | Select Objects in bucket and Specified object(s). Then, click Add Field and set Resource path to data/*. |
Action | General Action | It is optional. You can also select one or more actions you want to authorize based on your needs. For more information, see Supported actions. |
| Bucket Action | |
| Object Action | Select GetObject. You can also select other actions as needed. For more information, see Object actions. |
| Operational strategy | Use the default option, i.e., Include the above actions. This option allows users to perform the specified actions. |
Condition (Optional) | - | Click the Add Field icon and set the condition and value. |