Xuanwo opened a new pull request, #9070: URL: https://github.com/apache/opendal/pull/9070
# Which issue does this PR close? Part of #8003. # Rationale for this change Huawei Cloud OBS supports S3 clients in the China public cloud. A preset lets applications connect with the bucket region and Huawei Cloud credentials while using OpenDAL's shared S3 implementation. Huawei documents the base endpoint and SigV4 payload modes in the Boto3 FAQ, and the bucket region, Huawei-issued keys and session tokens in the Terraform guide. [Boto3 FAQ](https://support.huaweicloud.com/obs_faq/obs_faq_0274.html) ยท [Terraform S3 backend guide](https://github.com/huaweicloud/terraform-provider-huaweicloud/blob/b1d3ca6ee6e383aacfa5a82d1440d6a3fa3c6ca9/docs/guides/remote_state_backend.md) # What changes are included in this PR? Add the `obs-s3` scheme, `services-obs-s3` feature, `ObsS3` builder and binding configurations. The preset derives `https://obs.<region>.myhuaweicloud.com`, prepends the bucket to the host, and uses the bucket region for S3 Signature Version 4 with `UNSIGNED-PAYLOAD`. A local PUT with synthetic credentials exercised the shared signer and confirmed the host, credential scope, payload mode and security-token header. This preset has not been tested against a real Huawei Cloud OBS account. # Are there any user-facing changes? Enable `services-obs-s3` and use `obs-s3://example-bucket/prefix?region=cn-north-1`. Supply Huawei Cloud `access_key_id` and `secret_access_key`, with `session_token` for temporary credentials. Use `endpoint` to override the base URL before OpenDAL adds the bucket name. The native OBS API is available through `services-obs` and `obs://`. # Breaking changes # AI Usage Statement - Pi, `magpie/codex/gpt-6.2-astra`, `high` for provider research and implementation scope. - Pi, `magpie/codex/gpt-6.2-sol`, `xhigh` for implementation, local validation and this description. - Pi, `magpie/devin/swe-2`, `high` for independent review of the preset, provider documentation, local signer tests and scheme registration. -- 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]
