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.

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 = FalseWhether to use an insecure channel

Returns

TypeDescription
dict[str, typing.Any]Dictionary of remote kwargs used for initialization