Replies: 2 comments
-
Hi, Unfortunately Monika does not support some kind of templating like Helm or Ansible. Contributions to support templating are welcome though! |
Beta Was this translation helpful? Give feedback.
-
Hi @gihif, Here's an idea, since you want to protect your configuration.yaml with perhaps sensitive keys etc, you can alternatively use a remote config.yaml file. That way you don't have to set the keys at the beginning in plain text, but store it somewhere more secure. So the params would be something like this: monika -c https://your.server.com/v1/configs/monika/config1.yml --config-interval 10 reference: https://monika.hyperjump.tech/guides/cli-options I hope that helps, drop a note if you have more feedback, questions or found a solution. Best Regards. |
Beta Was this translation helpful? Give feedback.
-
Hi everyone, I am a new user at Monika, and currently I am exploring Monika as our observability tool to do synthetic monitoring.
I would like to ask about Monika's capability to read configuration values taken from EnvVar.
Let's take an example, suppose I have a Monika Configuration Yaml as follows.
From the configuration example above, is it possible for the following values (
SOME_BEARER_TOKEN
,SOME_USERNAME
,SOME_PASSWORD
or other values defined later) to be taken from the OS Environment Variables or other places?The purpose of this question is that I intend to store these values (
SOME_BEARER_TOKEN
,SOME_USERNAME
,SOME_PASSWORD
or other values that are defined later) in another place that I can encrypt. Because I don't want to store these values in plain text in the Configuration Yaml.Thanks in advance for your help and response guys
Beta Was this translation helpful? Give feedback.
All reactions