Skip to content

Basic Authentication

IcebergRESTCatalogBasicAuth

Basic Authentication for Iceberg REST Catalog.

All requests to REST catalog are made with HTTP header Authorization: Basic {user}:{password}.

Added in 0.15.0

Parameters:

  • user

    (str) –

    Username for authentication.

  • password

    (SecretStr) –

    Password for authentication.

Examples:

from onetl.connection import Iceberg

auth = Iceberg.RESTCatalog.BasicAuth(
    user="my_user",
    password="my_password",
)