This is an automated email from the ASF dual-hosted git repository. yzou pushed a commit to branch yzou-generic-table-credential-vending-specs in repository https://gitbox.apache.org/repos/asf/polaris.git
commit 10352686f0b944f1fe9c73e161edb55ffb38570e Author: Yun Zou <[email protected]> AuthorDate: Mon Feb 16 12:14:38 2026 -0800 add api extension --- api/polaris-catalog-service/build.gradle.kts | 1 + spec/polaris-catalog-apis/generic-tables-api.yaml | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+) diff --git a/api/polaris-catalog-service/build.gradle.kts b/api/polaris-catalog-service/build.gradle.kts index 59a65b22d4..810b134421 100644 --- a/api/polaris-catalog-service/build.gradle.kts +++ b/api/polaris-catalog-service/build.gradle.kts @@ -31,6 +31,7 @@ val genericTableModels = "LoadGenericTableResponse", "ListGenericTablesResponse", "GenericTable", + "StorageCredential", ) val policyManagementModels = diff --git a/spec/polaris-catalog-apis/generic-tables-api.yaml b/spec/polaris-catalog-apis/generic-tables-api.yaml index 6377c8f99c..ea884f3cb4 100644 --- a/spec/polaris-catalog-apis/generic-tables-api.yaml +++ b/spec/polaris-catalog-apis/generic-tables-api.yaml @@ -244,6 +244,10 @@ components: properties: table: $ref: '#/components/schemas/GenericTable' + storage-credentials: + type: array + items: + $ref: '#/components/schemas/StorageCredential' ListGenericTablesResponse: type: object @@ -256,6 +260,21 @@ components: items: $ref: '../iceberg-rest-catalog-open-api.yaml#/components/schemas/TableIdentifier' + StorageCredential: + type: object + required: + - prefix + - config + properties: + prefix: + type: string + description: Indicates a storage location prefix where the credential is relevant. Clients should choose the most + specific prefix (by selecting the longest prefix) if several credentials of the same type are available. + config: + type: object + additionalProperties: + type: string + responses: LoadGenericTableResponse:
