Environment values
env maps a name used in steps to an environment variable. Secrets stay out of the spec file.
tests/checkout.test.yaml
1env:2 EMAIL: ${TEST_EMAIL}3 PASSWORD: ${TEST_PASSWORD}4steps:5 - Log in with EMAIL and PASSWORDIn CI, set the variables from the CI system's secret store:
.github/workflows/e2e.yml
1- name: Run E2E2 run: npx aitp run --tag smoke --cloud3 env:4 AITP_TOKEN: ${{ secrets.AITP_TOKEN }}5 TEST_EMAIL: ${{ secrets.TEST_EMAIL }}6 TEST_PASSWORD: ${{ secrets.TEST_PASSWORD }}Test credentials sent to the cloud are stored encrypted and never shown in reports.