Skip to content

Basic Authentication

Bases: IcebergRESTCatalogAuth, FrozenModel

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 (str) –

    Password for authentication.

Examples:

from onetl.connection import Iceberg

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

get_config()

Return REST catalog auth configuration.