Torch Object Storage
Parameter | | | Example value | Description |
Parameter | | | Example value | Description |
accessKeyId | String | Yes | AKTPYmI1Z**** | Access Key ID, Secret Key ID, default value: null. |
accessKeySecret | String | Yes | T1dJM01UU****== | AccessKey Secret: a private access key with a default value of null. |
region | String | Yes | cn-beijing | The region where the TOS server is located; the default value is null. |
endpoint | String | Optional; if left empty, the value is determined by the region parameter. | tos-cn-beijing.volces.com | If the access domain name is left blank, its value will be determined by the region parameter. |
stsToken | String | No | STSkeyJBY2NvdW50SW************ | Security token in the temporary access credential; the default value is null. |
enableVerifySSL | boolean | No | true | Configure whether to enable SSL certificate verification; the default value is False. |
autoRecognizeContentType | boolean | No | true | Automatic MIME type recognition is enabled by default. |
requestTimeout | number | No | 120000 | HTTP request timeout duration, in milliseconds; the default value is 120,000. |
connectionTimeout | number | No | 10000 | Connection establishment timeout, in milliseconds, with a default value of 10000. |
idleConnectionTime | number | No | 60000 | If the idle time of an HTTP connection in the connection pool exceeds the value specified by this parameter, the HTTP connection will be closed. The unit is milliseconds, and the default value is 60000. |
maxConnections | number | No | 1024 | The maximum number of connections in the HTTP connection pool is 1,024 by default. |
maxRetryCount | number | No | 3 | The maximum number of retry attempts after a request failure is 3 by default. |
proxyHost | String | No | localhost | Host address of the proxy server; currently, only the HTTP protocol is supported. The default value is null. |
proxyPort | number | No | 8080 | Port number of the proxy server. |
enableCRC | boolean | No | false | Indicates whether CRC verification is enabled; the default value is false. |
isCustomDomain | boolean | No | false | Whether to prepend the bucket name to the Endpoint and access TOS using the virtual host domain name method. The value descriptions are as follows:
The default value is false. tip When accessing TOS via a custom domain, you must set isCustomDomain to true. |