Apache Iceberg · Schema

OAuthClientCredentialsRequest

The `oauth/tokens` endpoint and related schemas are **DEPRECATED for REMOVAL** from this spec, see description of the endpoint. OAuth2 client credentials request See https://datatracker.ietf.org/doc/html/rfc6749#section-4.4

ACIDAnalyticsApacheData LakeLakehouseOpen SourceTable Format

Properties

Name Type Description
grant_type string
scope string
client_id string Client ID This can be sent in the request body, but OAuth2 recommends sending it in a Basic Authorization header.
client_secret string Client secret This can be sent in the request body, but OAuth2 recommends sending it in a Basic Authorization header.
View JSON Schema on GitHub

JSON Schema

rest-catalog-open-api-o-auth-client-credentials-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/apache-iceberg/refs/heads/main/json-schema/rest-catalog-open-api-o-auth-client-credentials-request-schema.json",
  "title": "OAuthClientCredentialsRequest",
  "description": "The `oauth/tokens` endpoint and related schemas are **DEPRECATED for REMOVAL** from this spec, see description of the endpoint.\n\nOAuth2 client credentials request\n\nSee https://datatracker.ietf.org/doc/html/rfc6749#section-4.4",
  "type": "object",
  "properties": {
    "grant_type": {
      "type": "string",
      "enum": [
        "client_credentials"
      ]
    },
    "scope": {
      "type": "string"
    },
    "client_id": {
      "type": "string",
      "description": "Client ID\n\nThis can be sent in the request body, but OAuth2 recommends sending it in a Basic Authorization header."
    },
    "client_secret": {
      "type": "string",
      "description": "Client secret\n\nThis can be sent in the request body, but OAuth2 recommends sending it in a Basic Authorization header."
    }
  },
  "required": [
    "grant_type",
    "client_id",
    "client_secret"
  ],
  "deprecated": true
}