-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow Custom Credentials on prompt with Workflows #881
Comments
This should now be possible in the API. You are probably looking at the Given you have already created your node, go to Note that the job template used by the node needs to have The UI is currently working on implementing this on their side. |
@AlanCoding We're at AWX 15.0.1 and it seems I don't have the option to provide credentials to Workflow Templates through the UI. Is it not implemented yet? |
You can add credentials to workflow nodes (which will apply to 1 job for that node), but you cannot attach credentials to the Workflow Template itself, such that it applies to all jobs inside the workflow. |
@AlanCoding Is it possible to do this at launch time? Because if you change the actual workflow node and multiple runs are launched simultaneously, we'll have possible race conditions on the credentials. Here I do see a possibility to set credentials on the Workflow at launch. For our use case, we'd like to be able to set one credential at workflow level to override all workflow node credentials for one job. |
ISSUE TYPE
COMPONENT NAME
SUMMARY
With the introduction of custom credential it is now possible to add several sets of credentials to a job template.
However, it is not possible to add custom credentials during Workflow edition, on top of machine credentials, because we can only select one. The custom credentials do appear in the list but they overwrite the machine credentials when selected.
The only workaround is to leave the default credentials set in the job template, where you can select both machine and custom credentials, and leave it as is in the workflow.
ENVIRONMENT
The text was updated successfully, but these errors were encountered: