Skip to content

ADLS: Support vended "adls.sas-token.xxx" prefixed tokens #1442

Open
@c-thiel

Description

@c-thiel

Is your feature request related to a problem or challenge?

Currently the property handling in the new ADLS FileIO that was introduced in #1368 (Thanks @DerGut !) isn't fully aligned with Java and as a consequence does not support the typical ADLS Vended Credentials format.

What we are currently missing is support for a config property key of the form adls.sas-token.<filesystem>.dfs.<endpoint-suffix>. Instead, the SAS token must be provided as adls.sas-token.

Java handles this via a token prefix: https://github.com/apache/iceberg/blob/17f9a9fd28bbcb37745f13ebfcd57cd5a96e0a5d/azure/src/main/java/org/apache/iceberg/azure/AzureProperties.java#L38

Describe the solution you'd like

Support tokens of the form adls.sas-token.<filesystem>.dfs.<endpoint-suffix> and map them to appropriate opendal config fields.

I can contribute this, but am currently a bit tight on time.

Willingness to contribute

I can contribute to this feature independently

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions