Can the API address be configured to use a Unix socket? #22218
Answered
by
pront
paul-palmer
asked this question in
Q&A
-
I realize that the API address can be set to a port on 127.0.0.1, but that would still allow everyone with access to the system to connect. Is it possible to use a Unix socket as the address so that we can use file permissions to limit access to specific users? |
Beta Was this translation helpful? Give feedback.
Answered by
pront
Jan 16, 2025
Replies: 1 comment 4 replies
-
Hi @paul-palmer, are you referring to a specific config field? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I see, I suppose you are referring to https://vector.dev/docs/reference/api/#address.
In code:
vector/src/config/api.rs
Lines 15 to 17 in 8e15aeb
So currently no, but it is possible to enhance the above config to accept both.