confita
confita copied to clipboard
Use vault/api module instead of vault
Purpose of this PR is to:
- Use the vault/api module, instead of vault itself.
- Update vault api lib version used in confita at the moment.
- Fix a situation with ambiguous import when a project requires both confita and vault/api modules, which happens now because confita locks vault version on v0.9.6 which depends on older api version.
go get github.com/hashicorp/vault/api: ambiguous import: found github.com/hashicorp/vault/api in multiple modules:
github.com/hashicorp/vault v0.9.6 (/home/sergey/apps/go/pkg/mod/github.com/hashicorp/[email protected]/api)
github.com/hashicorp/vault/api v1.0.4 (/home/sergey/apps/go/pkg/mod/github.com/hashicorp/vault/[email protected])