How do I define secrets in Iguazio? Are they cluster-wide or just at the project level? Once the secret is defined, how do I use it in my jobs? What about distributed jobs that have many pods/workers like Spark and Dask, can I use secrets with those types of frameworks?
Thanks.
You can define a secret in Iguazio. You can either define a secret at the project level or at the cluster level. For define a secret at the project level, here is an example code snippet:
MLRun provides facilities to map k8s secrets that were created externally to jobs that are executed.
Then you will use the secret in a function like this: