Managing Secrets

There might be cases where you don't want to store certain values in a flow file itself (i.e. user name, password, etc.). Maestro solves that by taking such parameters as variables and so does Maestro Cloud.

Pass in parameters using the -e option:

maestro cloud \
  -e USERNAME=$TEST_USERNAME \
  -e PASSWORD=$TEST_PASSWORD \
  <appFile> .maestro/

Using variables in your flows

Once you have defined the variables, you can refer to them in your flows:

appId: your.app.id
---
- launchApp
- inputText: ${USERNAME}
- tapOn: Next
- inputText: ${PASSWORD}

Last updated