2 configuration options · available in Rust, Python, Node.js, Java
use opendal::Operator;
let op = Operator::via_iter("yandex-disk", [
("access_token".to_string(), "...".to_string()),
])?;
use opendal::Operator;
let op = Operator::via_iter("yandex-disk", [
// root of this backend.
//
// All operations will happen under this root.
// ("root".to_string(), "...".to_string()),
// yandex disk oauth access_token.
("access_token".to_string(), "...".to_string()),
])?;
Every option is passed as a string key; OpenDAL parses it into the right type. Some services may require building the binding with the matching services-* feature enabled.
| Key | Type | Required | Description |
|---|---|---|---|
root | string | no | root of this backend. All operations will happen under this root. |
access_token | string | yes | yandex disk oauth access_token. |