Writing Vault plugins in languages other than Golang

140 views
Skip to first unread message

John

unread,
Jul 22, 2018, 10:39:52 AM7/22/18
to Vault
Is it possible to write Vault plugins in a language other than Golang?  

What needs to be done and is there a worked example somewhere (other than the Golang example here)? Is there an example using Rust?

Brian Kassouf

unread,
Jul 22, 2018, 10:52:36 PM7/22/18
to vault...@googlegroups.com
Hi John,

Yes it is possible, though it wont be super straight forward since we
only offer a framework library for golang and I don't know of any
plugins written in other languages. We use gRPC communications for our
plugins and so you'll need to implement the services defined here:

https://github.com/hashicorp/vault/blob/master/logical/plugin/pb/backend.proto
https://github.com/hashicorp/go-plugin/blob/master/grpc_broker.proto

Checkout our framework library for a better understanding of how they
implement the protocol:

https://github.com/hashicorp/vault/tree/master/logical/plugin
https://github.com/hashicorp/vault/tree/master/logical/framework

Hope this helps,

Brian
On Sun, Jul 22, 2018 at 7:39 AM John <john_...@hotmail.com> wrote:
>
> Is it possible to write Vault plugins in a language other than Golang?
>
> What needs to be done and is there a worked example somewhere (other than the Golang example here)? Is there an example using Rust?
>
> --
> This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
>
> GitHub Issues: https://github.com/hashicorp/vault/issues
> IRC: #vault-tool on Freenode
> ---
> You received this message because you are subscribed to the Google Groups "Vault" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to vault-tool+...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/vault-tool/2620fbd8-1283-46a0-9f45-6aee6a994caa%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages