Executing command on foreman from a job template

Hi community,

I would like generate and store a password on foreman server and use this in an job template.
Any idea how to manage this?

thanks for the help

Is this any help Deploying SSH Keys during Provisioning

thx for the reply
it’s about application passwords, and they should be newly generated each time the job template is executed.

I solved the challenge by creating a CGI-script which is called by wget.