flytekit.SecurityContext

class flytekit.SecurityContext(run_as: Union[flytekit.models.security.Identity, NoneType] = None, secrets: Union[List[flytekit.models.security.Secret], NoneType] = None, tokens: Union[List[flytekit.models.security.OAuth2TokenRequest], NoneType] = None)[source]
__init__(run_as: Optional[flytekit.models.security.Identity] = None, secrets: Optional[List[flytekit.models.security.Secret]] = None, tokens: Optional[List[flytekit.models.security.OAuth2TokenRequest]] = None)None

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__([run_as, secrets, tokens])

Initialize self.

from_flyte_idl(pb2_object)

short_string()

rtype

Text

to_flyte_idl()

verbose_string()

rtype

Text

Attributes

is_empty

run_as

secrets

tokens