-
Notifications
You must be signed in to change notification settings - Fork 764
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
Add feature to get MySQL password from Vault, instead of config file. #883
Comments
Dmitry-Eremeev
added a commit
to Dmitry-Eremeev/mysqld_exporter
that referenced
this issue
Oct 15, 2024
To use the feature we need to set the following options in config section 'client': use_vault = true vault_address = http://<IP_ADDRESS:<IP_PORT> vault_role_id = <ROLE_ID> vault_secret_id = <SECRET_ID> vault_secret_path = <deployments/<UNIT>/dev/user/passwords_yml> vault_secret_mount_path = <secret_v2> credential_name_in_vault_secret = <prometheus_mysql_exporter_database_password> prometheus#883
Dmitry-Eremeev
added a commit
to Dmitry-Eremeev/mysqld_exporter
that referenced
this issue
Oct 15, 2024
To use the feature we need to set the following options in config section 'client': use_vault = true vault_address = http://<IP_ADDRESS:<IP_PORT> vault_role_id = <ROLE_ID> vault_secret_id = <SECRET_ID> vault_secret_path = <deployments/<UNIT>/dev/user/passwords_yml> vault_secret_mount_path = <secret_v2> credential_name_in_vault_secret = <prometheus_mysql_exporter_database_password> prometheus#883 Signed-off-by: Mitya_Eremeev <[email protected]>
Dmitry-Eremeev
added a commit
to Dmitry-Eremeev/mysqld_exporter
that referenced
this issue
Oct 15, 2024
To use the feature we need to set the following options in config section 'client': use_vault = true vault_address = http://<IP_ADDRESS:<IP_PORT> vault_role_id = <ROLE_ID> vault_secret_id = <SECRET_ID> vault_secret_path = <deployments/<UNIT>/dev/user/passwords_yml> vault_secret_mount_path = <secret_v2> credential_name_in_vault_secret = <prometheus_mysql_exporter_database_password> prometheus#883 Signed-off-by: Mitya_Eremeev <[email protected]>
Dmitry-Eremeev
added a commit
to Dmitry-Eremeev/mysqld_exporter
that referenced
this issue
Oct 15, 2024
To use the feature we need to set the following options in config section 'client': use_vault = true vault_address = http://<IP_ADDRESS:<IP_PORT> vault_role_id = <ROLE_ID> vault_secret_id = <SECRET_ID> vault_secret_path = <deployments/<UNIT>/dev/user/passwords_yml> vault_secret_mount_path = <secret_v2> credential_name_in_vault_secret = <prometheus_mysql_exporter_database_password> prometheus#883 Signed-off-by: Mitya_Eremeev <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It would be nice to implement security feature to get some credentials from Vault, e.g. mysql password.
The text was updated successfully, but these errors were encountered: