https://flyte.org logo
#ask-the-community
Title
# ask-the-community
a

Alex Beach

01/30/2024, 9:06 PM
Is there a way to set the service or IAM account in the workflow or task code? and not just in the UI
d

David Espejo (he/him)

01/30/2024, 9:09 PM
you can append
--service-account
to
pyflyte run
By the default all Tasks will use the
default
KSA on their corresponding namespace, which should also be annotated with the corresponding Google SA
a

Alex Beach

01/30/2024, 9:10 PM
oh i see that that option is on register as well
d

David Espejo (he/him)

01/30/2024, 9:10 PM
yes