Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace --arangodb.endpoint with environment variable #23

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

shorman88
Copy link

The current process is exposing the username and password to the system and the solution i found is to set the connection string (arangodb.endpoint) in an environment variable and it worked!

Ayman Shorman

shorman88 and others added 3 commits December 15, 2019 19:36
Replace --arangodb.endpoint  as it wasn't hiding the password of Arangodb server when running the exporter process.
instead of passing the conn string to the process just export this env variable DB_URL for example:
export DB_URL="http://arango_user:mypassword@192.168.6.7:8529" then run the exporter : ./arangodb-exporter &
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant