6 configuration options · available in Rust, Python, Node.js, Java
use opendal::Operator;
let op = Operator::via_iter("obs", [
])?;
use opendal::Operator;
let op = Operator::via_iter("obs", [
// Root for obs.
// ("root".to_string(), "...".to_string()),
// Endpoint for obs.
// ("endpoint".to_string(), "...".to_string()),
// Access key id for obs.
// ("access_key_id".to_string(), "...".to_string()),
// Secret access key for obs.
// ("secret_access_key".to_string(), "...".to_string()),
// Bucket for obs.
// ("bucket".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 for obs. |
endpoint | string | no | Endpoint for obs. |
access_key_id | string | no | Access key id for obs. |
secret_access_key | string | no | Secret access key for obs. |
bucket | string | no | Bucket for obs. |
enable_versioningdeprecated | bool | no | Deprecated: OBS versioning capability is not controlled by service config. Deprecated since 0.57.0: OBS versioning capability is not controlled by this option and this option is no longer needed. |