blakelead / couchbase_exporter

Export metrics from Couchbase Server for Prometheus consumption
Other
35 stars 18 forks source link

Make the application more secure #10

Closed blakelead closed 6 years ago

blakelead commented 6 years ago

As pointed out by Brian Brazil in the Prometheus developer group, password is passed in an unsecure way.

I'm looking for the best way to address this issue but as I'm not proficient enough, I'm open to advice of any form.

blakelead commented 6 years ago

One idea would be to store credentials in a json configuration file as so:

{
    "user": "the_username",
    "password": "the_password"
}

I don't know if it is better though. Any ideas ?

blakelead commented 6 years ago

I settled on using configuration file and environment variables. For more informations, refer to the readme.