Every option is passed as a string key; OpenDAL parses it into the right type. For a map option, pass a string containing a JSON object whose values are strings, such as {"key":"value"}. Some services may require building the binding with the matching services-* feature enabled.
The Root of this backend.
All operations will happen under this root.
Default to / if not set.
access_token
string
no
The access_token of this backend.
Solution for client-only purpose. #4733
Required if no client_id, client_secret and refresh_token are provided.
client_id
string
no
The client_id of this backend.
Required if no access_token is provided.
client_secret
string
no
The client_secret of this backend.
Required if no access_token is provided.
refresh_token
string
no
The refresh_token of this backend.
Required if no access_token is provided.
drive_type
string
yes
The drive_type of this backend.
All operations will happen under this type of drive.
Available values are default, backup and resource.
Fallback to default if not set or no other drives can be found.
Entries reflect native capabilities declared by the aliyun-drive backend. Language bindings expose different subsets of options and may simulate operations client-side, and protocol-compatible endpoints may support only a subset of the declared features.
Stat1
Capability
Support
Description
stat
✓ Native
Indicates if the operator supports metadata retrieval operations.
Read2
Capability
Support
Description
read
✓ Native
Indicates if the operator supports read operations.
read_with_suffix
✓ Native
Indicates if suffix read operations are supported.
Write4
Capability
Support
Description
write
✓ Native
Indicates if the operator supports write operations.
write_can_multi
✓ Native
Indicates if multiple write operations can be performed on the same object.
write_multi_max_size
5 GiB
64-bit targets (usize::MAX on 32-bit)
Maximum size supported for multipart uploads. For example, AWS S3 supports up to 5GiB per part in multipart uploads.
write_multi_min_size
100 KiB
Minimum size required for multipart uploads (except for the last part). For example, AWS S3 requires at least 5MiB per part.
List2
Capability
Support
Description
list
✓ Native
Indicates if list operations are supported.
list_with_limit
✓ Native
Indicates if list operations support result limiting.