Add support for golang in SDK

In kubernetes community usage of golang is high and lot of projects are written in this language. It would be nice if SDK would support golang.

1 Like

While there are currently no bindings for golang, it should be possible with some work to use cgo to have interoperability with the bitwarden_c crate.

The bitwarden_c crate exposes a c compatible library with three methods, init, run_command and free, sdk/c.rs at master · bitwarden/sdk · GitHub. There is a C# example which showcases how to use these methods, but in short run_command exposes a json interface. It should be possible to generate JSON bindings from the SDKs json schemas.

1 Like