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 for Unix Domain Sockets #217

Open
yakatz opened this issue Jan 6, 2020 · 4 comments
Open

Support for Unix Domain Sockets #217

yakatz opened this issue Jan 6, 2020 · 4 comments

Comments

@yakatz
Copy link

yakatz commented Jan 6, 2020

It appears it is not possible to connect to vault agent using a unix domain socket.

We like to have vault agent run with only

listener "unix" {
   address = "/run/vault.sock"
   tls_disable = true
}

but it seems this library doesn't support it and we have to enable a tcp listener too.

@seandilda
Copy link

I'm running into the same issue and would like to second this.

I'd really like to see support for this added as it provides a secure way for an application to talk to a vault agent with auto-auth and caching enabled.

@jared-gs
Copy link

jared-gs commented Jul 8, 2020

Agreed, this would be a very useful feature to have. I wonder if this could be useful: https://github.com/puppetlabs/net_http_unix.

@rjhornsby
Copy link

Like the idea and would use a socket over http if it was available, but this would need to be implemented in Vault proper, rather than the ruby gem.

@yakatz
Copy link
Author

yakatz commented Jun 12, 2022

this would need to be implemented in Vault proper, rather than the ruby gem.

Vault Agent does support it and we use it already (support for UDS was added in hashicorp/vault#6397). The issue specifically is that the Gem does not.

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

4 participants