Skip to main content

upyun

4 configuration options · available in Rust, Python, Node.js, Java

Quick start
use opendal::Operator;

let op = Operator::via_iter("upyun", [
("bucket".to_string(), "...".to_string()),
])?;
All configuration options (copy & trim)
Full reference
use opendal::Operator;

let op = Operator::via_iter("upyun", [
// root of this backend.
//
// All operations will happen under this root.
// ("root".to_string(), "...".to_string()),

// bucket address of this backend.
("bucket".to_string(), "...".to_string()),

// username of this backend.
// ("operator".to_string(), "...".to_string()),

// password of this backend.
// ("password".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.

Configuration reference

General4
KeyTypeRequiredDescription
rootstringnoroot of this backend. All operations will happen under this root.
bucketstringyesbucket address of this backend.
operatorstringnousername of this backend.
passwordstringnopassword of this backend.