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
| Name | Type | Description |
|---|---|---|
| endpoint | `str | None` = None |
| org | `str | None` = None |
| project | `str | None` = None |
| domain | `str | None` = None |
| insecure | bool = False | Whether to use an insecure channel |
Returns
| Type | Description |
|---|---|
dict[str, typing.Any] | Dictionary of remote kwargs used for initialization |