Environment variables
Usage
Using environment variables is similar to using args. Use curley braces and prepend your variable name with env.
. This will use any environment variable you have set.
Set your environment variable.
export AUTH_TOKEN="token123"
Then use by adding {env.AUTH_TOKEN}
anywhere in your configuration file.
method: GETendpoint: https://jsonplaceholder.typicode.com/todos/5headers: - Authorization: Bearer {env.AUTH_TOKEN} - Content-Type: application/json