Skip to content

[Feature]: Support custom credential providers to be passed to object_store #3971

@dlstadther

Description

@dlstadther

Is your feature request related to a problem?

DeltaLake (via object_store) does not support Workload Identity Federation authentication. While I can authenticate with WIF outside of DeltaLake/object_store and get a token, DeltaLake does not support a mechanism for me to provide this token to the object_store library.

While object_store allows user-provided custom credential providers to work around this issue, DeltaLake does not support any storage_option value other than string.

(Polars solved this issue by enabling a UserProvidedGCPToken provider when a plain token is given).

Describe the solution you'd like

Allow for a pattern where the user can provide their own access token which is wrapped by a credential provider for object_store or allow the user to provide their own credential provider.

Describe alternatives you've considered

I have not found any alternatives yet for Workload Identity Federation support or workaround with DeltaLake, only the credential_provider route directly with object_store which isn't supported by DeltaLake's storage_option interface.

Priority

None

Additional context

No response

Contribution

  • I'm willing to submit a pull request for this feature
  • I can help with testing this feature
  • I can help with documentation for this feature

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions