# AWX: inject machine credential

**URL:** <https://forum.ansible.com/t/awx-inject-machine-credential/35720>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [September 10, 2021, 12:43pm UTC](https://forum.ansible.com/t/awx-inject-machine-credential/35720 "2021-09-10T12:43:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nbmprivat](https://avatars.discourse-cdn.com/v4/letter/n/cab0a1/32.png) [@nbmprivat](https://forum.ansible.com/u/nbmprivat)\
**Post date:** [September 10, 2021, 12:43pm UTC](https://forum.ansible.com/t/awx-inject-machine-credential/35720/1 "2021-09-10T12:43:31Z")

</div>

Hi,

I am wondering if its possible to inject awx machine credential into a playbook, specifically username and ssh privat key (path/content).

Running printenv in awx does not show any usefull env variables.

 ![ssh.JPG](https://us1.discourse-cdn.com/ansible/original/2X/c/c1acbaefe1a8f8d3e5a8bc4271db57dd8b7b57ff.jpeg)

Would be really useful to be able to fill out path and key\_data from a credential.

Thanks everybody
