Torch Object Storage
Name | Type | Description |
Name | Type | Description |
-vp | String | Sets how long the pre-signed URL will be valid. After the specified time, the URL will automatically expire. The valid range is from 1 minute to 30 days. If you use temporary access credentials to configure tosutil, the authorization code's validity period must match the credentials' expiration time. The default value is 1 day, indicating that the generated authorization code will expire after 1 day. This parameter supports the following configuration formats:
For example, 1d means a validity period of 1 day; 1w, 1 week; and 1h, 1 hour. tip If no time unit is specified, the default unit is seconds. For example, 2400 means a validity period of 2,400 seconds. |
-qp | String | The query parameter included in the pre-signed URL. |
-versionId | String | The version ID of the object for which the pre-signed URL will be generated. The default is the latest version of the object. |
-r | String | Generate pre-signed URLs for objects with the specified prefix. |
-include | String | The object matching pattern used to include objects when generating pre-signed URLs in batches. The following characters have special behavior:
For example, -include=*.png#*.txt includes all objects ending in .png and .txt. tip To avoid parsing failures caused by the operating system escaping special characters, enclose the object matching pattern in quotes. |
-exclude | String | The object matching pattern used to exclude objects when generating pre-signed URLs in batches. The following characters have special behavior:
For example, -exclude=*.png#*.txt excludes all objects ending in .png and .txt. tip To avoid parsing failures caused by the operating system escaping special characters, enclose the object matching pattern in quotes. |
-d | String | Generate pre-signed URLs only for the objects in the current directory, rather than generating them recursively for all objects. |
-v | String | Generate pre-signed URLs for objects with multiple versions, including the latest versions and the historical versions. |
-marker | String | Sets the starting position when generating pre-signed URLs for objects in batches. The system first sorts objects by name in lexicographical order. Then, it generates pre-signed URLs for each object. |
-versionIdMarker | String | Sets the starting position for generating pre-signed URLs for objects with multiple versions in batches. This parameter must be used in conjunction with the -marker parameter. The system first sorts objects by name and version ID in lexicographical order. Then, it generates pre-signed URLs for each object. |
-limit | String | The maximum number of pre-signed URLs that will be returned when generating them in batches. The default value is 1,000. |
-bt | String | The type of the bucket. The options are as follows:
If the bucket type is not specified, the default will be the type obtained from the bucket metadata. |