Method: iceberg.v1alpha.restcatalog.v1.projects.catalogs.namespaces.tables.credentials

Loads credentials for a table in the namespace.

HTTP request

GET https://biglake.googleapis.com/iceberg/v1alpha/restcatalog/v1/{name=projects/*/catalogs/*/namespaces/*/tables/*}/credentials

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. Table to get in the format:

Query parameters

Parameters
snapshots

string

Optional. What snapshot to get. Valid only for tables.get.

Request body

The request body must be empty.

Response body

The response message for the LoadCredentials API.

If successful, the response body contains data with the following structure:

JSON representation
{
  "storage-credentials": [
    {
      object (StorageCredential)
    }
  ]
}
Fields
storage-credentials[]

object (StorageCredential)

The credentials for the table assigned to the caller.

Authorization scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/bigquery
  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

StorageCredential

The storage credential for a path in the table.

JSON representation
{
  "prefix": string,
  "config": {
    string: string,
    ...
  }
}
Fields
prefix

string

Indicates a storage location prefix where the credential is relevant.

config

map (key: string, value: string)

The credentials for the storage location. The keys that are populated are: - gcs.oauth2.token - gcs.oauth2.token_expires_at - expiration-time (to support federation from Polaris).

An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.