# Dynamically Provisioning SSH Creds

**URL:** <https://forum.ansible.com/t/dynamically-provisioning-ssh-creds/44771>\
**Category:** Get Help\
**Tags:** api, credentials, awx\
**Created:** [October 31, 2025, 6:01pm UTC](https://forum.ansible.com/t/dynamically-provisioning-ssh-creds/44771 "2025-10-31T18:01:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![AmirShalom](https://avatars.discourse-cdn.com/v4/letter/a/c5a1d2/32.png) [@AmirShalom](https://forum.ansible.com/u/AmirShalom)\
**Post date:** [October 31, 2025, 6:01pm UTC](https://forum.ansible.com/t/dynamically-provisioning-ssh-creds/44771/1 "2025-10-31T18:01:31Z")

</div>

I am trying to dynamically determine the machine SSH credential to be used by a workflow job node at runtime, via the API.

While I can determine the credential ID, I am trying to pass the Credential ID to my `/workflow_job_templates/{id}/launch` API call and subsequently to the resulting job template nodes.

1. Is there any way to propagate the machine credential (or its ID) from a workflow job template invocation, to the ‘child’ jobs?
2. Alternatively, if I passed the credential ID via extra\_vars, is it possible to fetch and ‘apply’ the machine credential (via API call, based on ID) during the job node runtime?
3. Would it be possible to pass down the applicable machine credentials via set\_stats?
