Skip to content

Add support for AUTHORIZATION_TYPE 'none' (Nessie, Lakekeeper (in no-auth mode))#288

Merged
Tishj merged 4 commits intoduckdb:mainfrom
Tishj:auth_type_none
Jun 6, 2025
Merged

Add support for AUTHORIZATION_TYPE 'none' (Nessie, Lakekeeper (in no-auth mode))#288
Tishj merged 4 commits intoduckdb:mainfrom
Tishj:auth_type_none

Conversation

@Tishj
Copy link
Collaborator

@Tishj Tishj commented Jun 5, 2025

This PR adds the ability to connect to Lakekeeper with LAKEKEEPER_CATALOGS_DEMO_AUTHORIZATION_TYPE=none

Thanks to duckdb/duckdb#17813 for motivating and providing a working reproducer.
As a side effect of working on this, I discovered that this connection is already possible on main (I think v1.3.0 release as well) using:

attach 'demo' as my_datalake (
	type ICEBERG,
	ENDPOINT 'http://localhost:8181/catalog',
	TOKEN ''
);

By supplying the TOKEN, we won't try to hit any authorization server, the only functional difference is that with this branch we won't send a Bearer token with the request, whereas on main we do send a Bearer token, but that should be ignored anyways if the authorization type is None on the Catalog server.

With this PR, this becomes possible instead:

attach 'demo' as my_datalake (
	type ICEBERG,
        AUTHORIZATION_TYPE 'NONE',
	ENDPOINT 'http://localhost:8181/catalog'
);

@Tishj Tishj merged commit 670ecfa into duckdb:main Jun 6, 2025
7 of 9 checks passed
@Tmonster Tmonster mentioned this pull request Jun 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant