POST {prefix}/shares/{share}/schemas/{schema}/tables/{table}/temporary-table-credentials
This API returns Cloud Tokens, which are directory (prefix) based STS tokens that grant temporary read access to the table’s root directory. This approach bypasses the pre-signing workflow and instead provides direct read-only access to the table.Query engines that are capable of processing the delta log get direct access to it and can optimize query performance by leveraging their custom metadata optimizations, caching, and distributed metadata processing.
Optional location URL path to generate temporary credentials for.This API should be called for the root location as well as all the auxiliary locations. If a table has auxiliary locations and a client does not support reading from multiple locations, they should either fall back to URL-based access via the Query Table API or throw an error.If this field is not provided, the response should contain credentials for the table’s main location.
Only one of awsTempCredentials, azureUserDelegationSas, or gcpOauthToken should be defined in the response, depending on the cloud storage provider.
If a table has auxiliaryLocations, you must call this API separately for each location (the main location and all auxiliary locations) to get the appropriate credentials.
Query engines capable of processing the Delta log can use these credentials to optimize query performance through custom metadata optimizations, caching, and distributed metadata processing.