-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Adds the ability to read an authorization token from a file #7304
Conversation
Thanks for the PR, @M0rdecay! |
@ssoroka reading a token from a file solves this problem for us - we need to deliver telegraf to a number of different protected environments when we do not need to know what the token looks like. A special case is the use of an agent deployment in a k8s cluster to access its API via HTTPS when the token is located in the /run/secrets/kubernetes.io/serviceaccount/token file. |
This particular case was described in more detail in the #7184. |
Required for all PRs:
Associated Feature Request #7303
closes #7303