Linking a workload secret to the Cloudera Data Engineering Spark Job definitions using CLI

After you create a workload secret, you can link it to the Cloudera Data Engineering (CDE) Spark Job definitions that you created using CLI.

./cde job create --name <workload-credential-name> --type <workload-credential_type> --application-file <application-file-name> --workload-credential <workload-credential-1> --workload-credential <workload-credential-2>
For example:
./cde job create --name test-workload-job --type spark --mount-1-resource test-workload --application-file test-workload-cred.py --workload-credential workload-cred-1 --workload-credential workload-cred-2