Skip to main content

init_passthrough

Initialize the Flyte system with passthrough authentication.

This authentication mode allows you to pass custom authentication metadata using the flyte.remote.auth_metadata() context manager.

The endpoint is automatically configured from the environment if in a flyte cluster with endpoint injected.

@syncify
async def init_passthrough(
endpoint: str | None = None,
org: str | None = None,
project: str | None = None,
domain: str | None = None,
insecure: bool = False,
) -> dict[str, typing.Any]: ...

Initialize the Flyte system with passthrough authentication. This authentication mode allows you to pass custom authentication metadata using the flyte.remote.auth_metadata() context manager. The endpoint is automatically configured from the environment if in a flyte cluster with endpoint injected.

Parameters​

NameTypeDescription
endpoint`strNone` = None
org`strNone` = None
project`strNone` = None
domain`strNone` = None
insecurebool = FalseA flag indicating whether to establish an unencrypted connection to the Flyte service.

Returns​

TypeDescription
dict[str, typing.Any]A dictionary containing the endpoint and insecure flag used for the remote initialization.