-
Notifications
You must be signed in to change notification settings - Fork 238
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
fix: Update documentation for using filename in otelcol.auth.bearer component #2213
Conversation
docs/sources/reference/components/otelcol/otelcol.auth.bearer.md
Outdated
Show resolved
Hide resolved
e401bf9
to
ce00933
Compare
We generally do not use file based secrets anymore. Can what you want be achieved with |
Hi @mattdurham Can you check the thread from the issue i think this was discussed a bit there. #1988 |
ce00933
to
e8c4c01
Compare
@wildum @mattdurham I'm a bit confused here. Does this doc change actually cover what is needed? Do I understand this correctly that if the user is storing a token in a file somewhere, they can... retrieve the token somehow using |
@clayton-cornell that's correct, the upstream component has a "filename" attribute that can be used to retrieve a secret but we decided not to have it in Alloy and instead tell the users to use the local.file component to retrieve the secret from the file and send it to this component via the token attribute. |
docs/sources/reference/components/otelcol/otelcol.auth.bearer.md
Outdated
Show resolved
Hide resolved
Co-authored-by: Clayton Cornell <[email protected]>
PR Description
Which issue(s) this PR fixes
#1988
Notes to the Reviewer
PR Checklist