New prometheus admin here, so please bear with me if I'm asking a silly question here.
I'm wondering if it's possible to read in parameters from an external file similar to the password_file parameter for basic auth.
We have a team wanting to monitor an endpoint exposed by the confluence plugin and to authenticate against that endpoint, a 'token' parameter is sent. The configuration files for our Prometheus installation are in a git repository to which multiple contributors have access. For the password_file parameter, the password file is encrypted in github via git-secret, and only decrypted when the prometheus server runs a local job that does a git pull on the repo followed by unmasking the encrypted credential files. Is it possible to store a parameter (like the confluence token) in a file so that it can be encrypted in github? If not - are there any recommendations for protecting the token?