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

how to encrypt credentials of basic_auth in client url #3347

Open
RushikeshChanakhekar opened this issue Oct 8, 2024 · 0 comments
Open

how to encrypt credentials of basic_auth in client url #3347

RushikeshChanakhekar opened this issue Oct 8, 2024 · 0 comments

Comments

@RushikeshChanakhekar
Copy link

I want to install promtail on windows VM where I have to give credentials for basic_auth for client url as I have to collect logs of VM and push it to loki which is deployed in another cluster with enabled ingress. These credentails should be somehow encrypted so that those are not visible in promtail-config.yaml file directly.

clients:

  • url: http://<host_name>/loki/api/v1/push
    basic_auth:
    username: "### user"
    password: "### password"

Above user and password should be encrypted.

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

No branches or pull requests

1 participant