
ZAP supports a set of Authentication Header Environmental Variables - these will be applied by ZAP if they are defined however ZAP is run, including via the Automation Framework.
These environmental variables must be defined at the system level - if they are defined in the environment env section then they will be ignored.