I use watchers that call custom webhooks in their actions sections. Can I refer keystore values in the Authorization headers similar to variables?
I need something similar to:
"actions": {
"my-api-notification": {
"webhook": {
"scheme": "https",
"host": "api.example.com",
"port": 443,
"method": "post",
"path": "/v1/es-alerts",
"headers": {
"Authorization": "KEY {{api_key.secret.staging}}",
"Content-Type": "application/json"
},
where "api_key.secret.staging" is the name of the keystore field?
This didn't work in my case. Maybe you can suggest other options for storing shared secrets.