The Automation Framework supports variables, which includes environment variables. You can use these to set values referenced in your plan from the command line, including secrets such as credentials. To see this in action download the ScriptEnvVarAccess.yaml plan and store it in your current working directory. Edit the script and change PATH to MyVar.