Foreman-installer is it possible to encrypt the foreman-initial-admin-password?

Problem: I have written a script to run a series of commands to set up our satellite servers. The foreman-initial-admin-password is in clear text. Just wondering if it is possible to encrypt that somehow?

Expected outcome: Password is encrypted within the script.

Foreman and Proxy versions: foreman 3.0; katello 4.2

Foreman and Proxy plugin versions:

Distribution and version: CentOS 7.9

Other relevant data:

no

if your script is ansible, you could store it in vault or whatever, but it needs to be unencrypted at the moment you call the installer

No, it is just a bash script. Thanks. I’ll just have to prompt for the password at that point. Thanks for the info!