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

Support Bearer Authorization headers in http_server source #21850

Open
watsonian opened this issue Nov 20, 2024 · 0 comments
Open

Support Bearer Authorization headers in http_server source #21850

watsonian opened this issue Nov 20, 2024 · 0 comments
Labels
source: http_server Anything `http_server` source related type: feature A value-adding code addition that introduce new functionality.

Comments

@watsonian
Copy link

A note for the community

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Use Cases

Some places pushing logs via webhook only support specifying a bearer token for the Authorization header (e.g., Authorization: Bearer <token>). Vector's http_server source currently only supports basic auth here (e.g., Authorization: Basic <base64-encoded-user:pass>).

Attempted Solutions

No response

Proposal

There should be an additional auth.token (or similar) option that Vector would use to authenticate Authorization: Bearer <token> headers.

References

No response

Version

0.42.0

@watsonian watsonian added the type: feature A value-adding code addition that introduce new functionality. label Nov 20, 2024
@pront pront added the source: http_server Anything `http_server` source related label Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
source: http_server Anything `http_server` source related type: feature A value-adding code addition that introduce new functionality.
Projects
None yet
Development

No branches or pull requests

2 participants