Bank Vaults

一把 Vault 瑞士军刀:一个 K8s operator,Go 客户端,具有自动更新令牌、自动配置、多种解封选项等功能。一个 CLI 工具,用于启动、解封和配置 Vault(auth 方法、秘密引擎)。直接向 Pods 中注入秘密。「A Vault swiss-army knife: a K8s operator, Go client with automatic token renewal, automatic configuration, multiple unseal options and more. A CLI tool to init, unseal and configure Vault (auth methods, secret engines). Direct secret injection into Pods.」

Github星跟踪图

Bank Vaults is a thick, tricky, shifty right with a fast and intense tube for experienced surfers only, located on Mentawai. Think heavy steel doors, secret unlocking combinations and burly guards with smack-down attitude. Watch out for clean-up sets.

Bank-Vaults is an umbrella project which provides various tools for Vault to make using and operating Hashicorp Vault easier. Its a wrapper for the official Vault client with automatic token renewal and built in Kubernetes support, dynamic database credential provider for Golang SQL based clients. It has a CLI tool to automatically initialize, unseal and configure Vault. It also provides a Kubernetes operator for provisioning, and a mutating webhook for injecting secrets.


Bank-Vaults is a core building block of the Banzai Cloud Pipeline platform. Some of the usage patterns are highlighted through these blog posts:

Securing Kubernetes deployments with Vault:

We use Vault across our large Kubernetes deployments and all the projects were reinventing the wheel. We have externalized all the codebase into this project and removed all the Pipeline and Hollowtrees dependencies thus this project can be used independently as a CLI tool to manage Vault, a Golang library to build upon (OAuth2 tokens, K8s auth, Vault operator, dynamic secrets, cloud credential storage, etc), Helm chart for a HA cluster, operator, mutating webhook and a collection of scripts to support some advanced features (dynamic SSH, etc).

We take bank-vaults' security and our users' trust very seriously. If you believe you have found a security issue in bank-vaults, please contact us at security@banzaicloud.com.

Bank-Vaults is a core part of Banzai Cloud Pipeline, a Cloud Native application and devops platform that natively supports multi- and hybrid-cloud deployments. Check out the developer beta:

Installing

You usually don't need to use the CLI directly, rather you should install the charts and create Vault instances with the operator and use the webhook inside Kubernetes.

To grab the CLI binary go to the releases page and download it.

On macOs, you can directly Homebrew the CLI:

$ brew install banzaicloud/tap/bank-vaults

Alternatively, fetch the source and compile it using go get:

go get github.com/banzaicloud/bank-vaults/cmd/bank-vaults
go get github.com/banzaicloud/bank-vaults/cmd/vault-env

Documentation

Read more about usage of bank-vaults in the detailed
documentation
.

Development

If you want to hack with bank-vaults please follow the development
documentation
.

Community

If you have any questions about Bank-Vaults, and would like to talk to us and the other members of the Banzai Cloud community, please join our #bank-vaults channel on Slack.

If you find this project useful, help us:

  • Support the development of this project and star this repo! :star:
  • If you use Bank-Vaults in a production environment, add yourself to the list of production adopters.:metal:
  • Help new users with issues they may encounter :muscle:
  • Send a pull request with your new features and bug fixes :rocket:

Credits

Kudos to HashiCorp for open sourcing Vault and making secret management easier and more secure.

License

Copyright (c) 2017-2020 Banzai Cloud, Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

概览

名称与所有者banzaicloud/bank-vaults
主编程语言Go
编程语言Go (语言数: 5)
平台Docker, Kubernetes, Linux, Mac
许可证Apache License 2.0
发布数446
最新版本名称1.20.0-dev.3 (发布于 2023-06-27 14:09:03)
第一版名称0.1.0 (发布于 )
创建于2023-07-18 11:56:20
推送于2023-09-11 11:27:08
最后一次提交
星数0
关注者数1
派生数1
提交数2.2k
已启用问题?
问题数0
打开的问题数0
拉请求数1
打开的拉请求数0
关闭的拉请求数0
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?
去到顶部