Hello All,
I am using Ansible Automation Platform Trail Verson. Wanted to know if possible to encrypt API Token which is Part of Playbook Execution. Don’t want to keep in variable file which will be part of Playbook Folder.
Hi,
To achieve your goal, my recommendation is defining new Custom Credential Type for Fortigate.
This allows any string to be stored encrypted and passed to Job as an arbitrary Extra Variable or Environment Variable, similar to the built-in credential type.
https://docs.ansible.com/automation-controller/latest/html/userguide/credential_types.html
Thanks for you help. Started Creating Cred Type