bank-vaults / vault-sdk

Go libraries for interacting with Hashicorp Vault
Apache License 2.0
12 stars 4 forks source link

Vault SDK

Go Report Card Go Version PkgGoDev GitHub Workflow Status OpenSSF Scorecard OpenSSF Best Practices

Go library for interacting with Hashicorp Vault.

Compatibility

This SDK is compatible with Go version 1.22 and above.

Install

go get github.com/bank-vaults/vault-sdk

Documentation

Check out the library documentation on the Bank-Vaults website or on pkg.go.dev.

Development

For an optimal developer experience, it is recommended to install Nix and direnv.

Alternatively, install Go on your computer then run make deps to install the rest of the dependencies.

Fetch required tools:

make deps

Run project dependencies:

make up

Run the test suite:

make test

Run linters:

make lint # pass -j option to run them in parallel

Some linter violations can automatically be fixed:

make fmt

Once you are done, you can tear down project dependencies:

make down

License

The project is licensed under the Apache 2.0 License.