Xuanwo opened a new issue, #8877:
URL: https://github.com/apache/opendal/issues/8877

   ## Summary
   
   Align `core/services/obs` credential configuration with 
`reqsign-huaweicloud-obs` (`3.1.0`) and peer cloud storage services (`s3`, 
`oss`, `cos`, `tos`):
   
   1. **Adopt `DefaultCredentialProvider::builder()`** 
(`core/services/obs/src/backend.rs:183-190`) instead of manually pushing 
`EnvCredentialProvider::new()` into a `ProvideCredentialChain`.
   2. **Expose `security_token`** on `ObsConfig` and `ObsBuilder` and wire it 
into `StaticCredentialProvider::new(ak, sk).with_security_token(token)` 
(already supported by `reqsign-huaweicloud-obs`).
   3. **Expose `disable_config_load` and `skip_signature`** on `ObsConfig` and 
`ObsBuilder`, wiring `disable_config_load` to 
`DefaultCredentialProvider::builder().no_env()` and honoring `skip_signature` 
in request signing.
   
   ## Coordination
   
   - Coordinate with in-flight PR #8494 (`fix(services/obs): add 
enable_virtual_host_style for internal endpoints`) which also modifies 
`core/services/obs/src/{config.rs,backend.rs}`.
   
   ---
   *Drafted with AI assistance (Gemini 4 Neon) and verified against 
`core/services/obs/src/{config.rs,backend.rs}` and `reqsign-huaweicloud-obs` 
`v0.20.9`.*


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to