Aliyun: Add Aliyun auth type for REST catalog - #17392
Draft
yanggl29 wants to merge 1 commit into
Draft
Conversation
yanggl29
force-pushed
the
aliyun-auth-type
branch
from
July 28, 2026 08:46
1939485 to
daa1359
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backgroud
This PR adds built-in Alibaba Cloud authentication support for Iceberg REST
catalogs through
rest.auth.type=aliyun.It follows the dev-list discussion:
https://lists.apache.org/thread/2jrm755rzj3930wmgvcrtw73qzhnl44n
MaxCompute (ODPS) REST Catalog requests require Alibaba Cloud AK/SK signing.
Without built-in support, users must package and configure a custom
AuthManagerJAR for each Spark, Flink, or other Iceberg deployment.Changes
aliyunas a built-in REST auth type.AliyunAuthManagerandAliyunAuthSession.AliyunRequestSignerinterface.canonicalization, V2/V4 signing, STS tokens, paths, and headers.
The change is additive: existing defaults remain unchanged, no REST
specification files are modified, and no new external runtime dependency is
introduced.
Configuration
Signing implementation
The ODPS canonical request and signing logic is adapted from the Alibaba Cloud
ODPS Java SDK
release/0.58.x:Only the required signing logic is included to avoid depending on the full ODPS
SDK. The referenced sources are licensed under Apache License 2.0.
Feedback is especially welcome on the
aliyunauth type name and theprovider-level signer abstraction.