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
| Name | Type | Description |
|---|---|---|
| endpoint | `str | None` = None |
| org | `str | None` = None |
| project | `str | None` = None |
| domain | `str | None` = None |
| insecure | bool = False | A flag indicating whether to establish an unencrypted connection to the Flyte service. |
Returns
| Type | Description |
|---|---|
dict[str, typing.Any] | A dictionary containing the endpoint and insecure flag used for the remote initialization. |