how to pass secrets keys using a spark_python_task

jeremy98
Honored Contributor

Hello community,

I was searching a way to pass secrets to spark_python_task. Using a notebook file is easy, it's only to use dbutils.secrets.get(...) but how to do the same thing using a spark_python_task set using serveless compute?

Kind regards,