ST2 uses LDAP for auth in my environment. But, I can't add st2admin and similar service account users to LDAP. So, the service accounts need to authenticate with an st2 api key when communicating with the st2 api.
To facilitate using this, at least for upgrades, I need to be able to add the api_key to the jobs via values.
I have a branch prepared to add this feature: https://github.com/cognifloyd/stackstorm-ha/tree/jobs_api_key
I will submit a PR later.