Skip to main content

auth_metadata

This context manager allows you to pass contextualized auth metadata downstream to the Flyte authentication system.

def auth_metadata(
kv: Tuple[str, str]
)

This context manager allows you to pass contextualized auth metadata downstream to the Flyte authentication system. This is only useful if flyte.init_passthrough() has been called.

Parameters

NameTypeDescription
kvTuple[str, str]Tuple of auth metadata key/value pairs.