Skip to content

Register table endpoint should honor access delegation #2351

@adutra

Description

@adutra

Is your feature request related to a problem? Please describe.

The IRC spec for the register-table endpoint does not mention access delegation headers, contrary to the other table endpoints.

Polaris currently does not consider access delegation at all when registering a table. As a consequence, the returned LoadTableResult does not contain any config for vended credentials nor for remote signing.

This is bad, because the returned config is unusable if the client is not in possession of valid credentials to access the storage.

Describe the solution you'd like

Polaris should honor the access delegation headers in the register-table endpoint, and return appropriate config for either vended credentials or remote signing.

Describe alternatives you've considered

No response

Additional context

This issue came up while developing support for remote signing:

Some context: #2280 (comment)

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