flytekit.AuthRole

class flytekit.AuthRole(assumable_iam_role=None, kubernetes_service_account=None)[source]

Methods

classmethod from_flyte_idl(pb2_object)[source]
Parameters:

pb2_object (flyteidl.admin.launch_plan_pb2.Auth)

Return type:

Auth

serialize_to_string()
Return type:

str

short_string()
Return type:

Text

to_flyte_idl()[source]
Return type:

flyteidl.admin.launch_plan_pb2.Auth

verbose_string()
Return type:

Text

Attributes

assumable_iam_role

The IAM role to execute the workflow with :rtype: Text

is_empty
kubernetes_service_account

The kubernetes service account to execute the workflow with :rtype: Text