百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
L

lockbox

> 云原生
开源

Kubernetes 秘密的离线加密

182 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

Kubernetes 秘密的离线加密

#+TITLE: Lockbox

[[https://pkg.go.dev/github.com/cloudflare/lockbox][https://pkg.go.dev/badge/github.com/cloudflare/lockbox.png]]

Lockbox is a secure way to store Kubernetes Secrets offline. Secrets are asymmetrically encrypted, and can only be decrypted by the Lockbox Kubernetes controller. A companion CLI tool, =locket=, makes encrypting secrets a one-step process.

** Features

  • Secure encryption using modern cryptography. Uses Salsa20, Poly1305, and Curve25519.
  • Secrets are locked to specific namespaces.
  • All Kubernetes Secret types are supported.
  • Plays nicely with Secrets created by other controllers.
  • Continuously reconciles child resources.

** Example Usage Create a native Secret, but pass =--dry-run= to avoid submitting to the API.

#+begin_example $ kubectl create secret generic mysecret --namespace default
--from-literal=foo=bar --dry-run -o yaml > mysecret.yaml #+end_example

Then, use locket to encrypt the secret.

#+begin_example $ locket -f mysecret.yaml > mylockbox.yaml #+end_example

Submit the lockbox to the API.

#+begin_example $ kubectl create -f mylockbox.yaml #+end_example

Remove the unencrypted secret.

#+begin_example $ rm mysecret.yaml #+end_example

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Gokubernetes

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类云原生
定价开源

> 相关工具

K
Kubernetes
容器编排事实标准
H
Helm
Kubernetes 包管理器
S
seaweedfs
SeaweedFS is a distributed storage system for object storage (S3), file systems, and Iceberg tables,