TemporaryCredentials

Generate temporary table credentials.

Changed on
post/temporary-table-credentials

Request

  • Base URL
    http://localhost:8080/api/2.1/unity-catalog
  • Auth
    none declared

Request body

table_idstring required

Table id for which temporary credentials are generated. Can be obtained from tables/{full_name} (get table info) API.

operation'UNKNOWN_TABLE_OPERATION' | 'READ' | 'READ_WRITE' required

Example request

{
  "table_id": "table_id",
  "operation": null
}

Response

Successful response

expiration_timeinteger

Server time when the credential will expire, in epoch milliseconds. The API client is advised to cache the credential given this expiration time.

urlstring

The normalized URL of the storage path the temporary credential was generated for.

Changes