Skip to content

Send X-Iceberg-Access-Delegation header to signal support for vended credentials/remote signing #436

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 20, 2024

Conversation

nastra
Copy link
Contributor

@nastra nastra commented Feb 16, 2024

Clients can optionally send this header to signal which delegated access pattern it can support. At this point the iceberg-python client can support vended-credentials and remote-signing, thus we can always send this header.
Addtional details about this header can be found in the REST OpenAPI spec: https://github.com/apache/iceberg/blob/main/open-api/rest-catalog-open-api.yaml#L1459-L1483

@nastra nastra requested a review from Fokko February 16, 2024 10:14
…credentials/remote signing

Clients can optionally send this header to signal which delegated access pattern it can support.
At this point the iceberg-python client can support `vended-credentials` and `remote-signing`,
thus we can always send this header.
Addtional details about this header can be found in the
REST OpenAPI spec: https://github.com/apache/iceberg/blob/main/open-api/rest-catalog-open-api.yaml#L1459-L1483
@nastra nastra force-pushed the send-access-delegation-header branch from 307bea8 to 9b58f5e Compare February 16, 2024 10:25
@Fokko Fokko added this to the PyIceberg 0.7.0 release milestone Feb 19, 2024
Copy link
Contributor

@Fokko Fokko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for catching this @nastra, and for the review @danielcweeks

@Fokko Fokko merged commit f2aee48 into apache:main Feb 20, 2024
@nastra nastra deleted the send-access-delegation-header branch February 20, 2024 22:07
sungwy pushed a commit to sungwy/iceberg-python that referenced this pull request Feb 20, 2024
…credentials/remote signing (apache#436)

* Send X-Iceberg-Access-Delegation header to signal support for vended credentials/remote signing

Clients can optionally send this header to signal which delegated access pattern it can support.
At this point the iceberg-python client can support `vended-credentials` and `remote-signing`,
thus we can always send this header.
Addtional details about this header can be found in the
REST OpenAPI spec: https://github.com/apache/iceberg/blob/main/open-api/rest-catalog-open-api.yaml#L1459-L1483

* Update rest.py
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.

3 participants