REST: Opt-in access delegation with a client-side KMS

Open
#19,199 3 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
55/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
java
Domain
backend

Research direction

Read the discussion on #13225 and the related issue #17155, then inspect the RESTCatalog access-delegation check introduced by #13225. Determine how a catalog property can allow access delegation when a client-side KMS is configured, and add coverage for the mixed server-vended storage credentials and client-side KMS case. Done means the opt-in behavior works while the default remains unchanged.

Written by the indexing model from the issue text.

Description

improvement
Feature Request / Improvement

This issue tracks https://github.com/apache/iceberg/pull/13225#discussion_r4544123574. Note that #17155 is related.

With #13225, a RESTCatalog that configures a client-side KMS fails to initialize if it requests any access delegation other than none. That means both KMS and storage must come from the client (until #17155).

Some deployments want a mix: storage credentials vended by the server, with the client's own KMS. As discussed in #13225 and demonstrated in #18081, we could add a catalog property, off by default, that allows requesting access delegation alongside a client-side KMS. That relaxes the check introduced in #13225.

Query engine

None

Willingness to contribute
  • I can contribute this improvement/feature independently
  • I would be willing to contribute this improvement/feature with guidance from the Iceberg community
  • I cannot contribute this improvement/feature at this time
Dominant language
Java
Stars
9.5k
Forks
3.7k
Avg merge
2d 2h
Merged PRs (30d)
170

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from apache/iceberg

All issues in apache/iceberg

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.