<#3241 [Core feature] pass SA (service account) to...
# flytekit
c
#3241 [Core feature] pass SA (service account) to specific task Issue created by xshen8888 ### Motivation: Why do you think this is important? When I run the workflow that has spark tasks, I have to supply --service-account spark e.g. pyflyte run --remote --service-account spark However the workflow will have other non-spark tasks that cannot work with service account spark, because there are permission roles that are only configured for the default user account. To solve this conflict, I suggest passing the SA to the specific (spark) task in the @task decorator. ### Goal: What should the final outcome look like, ideally? Pass the SA to the specific task. ### Describe alternatives you've considered None. ### Propose: Link/Inline OR Additional context No response ### Are you sure this issue hasn't been raised already? • Yes ### Have you read the Code of Conduct? • Yes flyteorg/flyte