You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@paimon.apache.org by "jackylee-ch (via GitHub)" <gi...@apache.org> on 2026/10/05 02:26:56 UTC

[PR] fix(io): make OSS access key and secret optional like other object stores [paimon-rust]

jackylee-ch opened a new pull request, #1035:
URL: https://github.com/apache/paimon-rust/pull/1035

   `oss_config_parse` required both `fs.oss.accessKeyId` and `fs.oss.accessKeySecret`
   and returned `ConfigInvalid` when either was missing. Every other object-store
   backend — S3, GCS, OBS and COS — treats credentials as optional and lets the
   underlying OpenDAL operator resolve them (anonymous/public buckets, ECS RAM-role,
   or environment credentials); S3 even has a dedicated
   `test_s3_config_parse_no_credentials` for exactly this.
   
   Because of this, a table reached over OSS without a static key/secret — a public
   bucket, or an ECS instance authenticating with a RAM role — fails at FileIO
   construction with `Missing required OSS config: fs.oss.accessKeyId`, even though
   the OSS operator builder already accepts a missing key/secret (the existing
   `test_oss_config_build_extracts_bucket` builds an operator from the endpoint
   alone). The STS path is unaffected since it supplies key, secret and token.
   
   This makes `access_key_id` and `access_key_secret` optional while keeping the
   endpoint required (OSS has no region-derived endpoint default, matching Java).
   Adds `test_oss_config_parse_no_credentials` and
   `test_oss_config_parse_missing_endpoint_fails` to pin the new boundary.
   


-- 
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: issues-unsubscribe@paimon.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] fix(io): make OSS access key and secret optional like other object stores [paimon-rust]

Posted by "jackylee-ch (via GitHub)" <gi...@apache.org>.
jackylee-ch closed pull request #1035: fix(io): make OSS access key and secret optional like other object stores
URL: https://github.com/apache/paimon-rust/pull/1035


-- 
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: issues-unsubscribe@paimon.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] fix(io): make OSS access key and secret optional like other object stores [paimon-rust]

Posted by "jackylee-ch (via GitHub)" <gi...@apache.org>.
jackylee-ch commented on PR #1035:
URL: https://github.com/apache/paimon-rust/pull/1035#issuecomment-5995208975

   Withdrawing this PR. It's a speculative parity change with no requesting issue; I'll re-propose with an issue if a concrete need (e.g. a real public-bucket workflow) comes up. Thanks.


-- 
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: issues-unsubscribe@paimon.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org