I’m looking to create a provisioning config file for a Notification Channel within Grafana. In particular, this will be a webhook for a custom endpoint, and the endpoint requires a username/password.
Normally, we’ll use an encryption library like Jasypt for storing passwords in files accessed by Java programs. However, there doesn’t seem to be such an equivalent for Grafana. Has anyone found a suitable workaround or alternative for this? The goal is to not have the password stored in plaintext in the provisioning file.
For reference, here’s what the provisioning file currently looks like:
# # config file version apiVersion: 1 notifiers: - name: ExampleChannel type: webhook uid: notifier1 orgId: 1 is_default: false send_reminder: true frequency: 5m disable_resolve_message: false settings: uploadImage: false url: https://myURL:8080 username: myUsername password: myPasswordThatNeedsEncryption delete_notifiers: - name: ExampleChannel orgId: 1 uid: notifier1