我在 Vault Google Group 上问了这个问题,这是最好的回答:
1) Under normal circumstances, does the Vault stay in an unsealed
state? I believe it would as a dynamically provisioned server should
not have to coordinate an unseal.
是的。一旦 Vault 被初始化并解封,它“通常”会停留在一个
未密封状态。
2) Is the purpose of sealing to off-board staff to rotate keys and in
case of an intrusion?
保险柜的密封启用了一个交钥匙机制来停止所有服务
保险库。这将需要特定数量的开封密钥持有者
让 Vault 再次运行。
3) What's the best practice for ensuring the vault process is always
running, since if it dies the Vault will seal? Also, in a highly
available configuration, if one Vault node's process dies, does it
seal the Vault for everyone?
对此没有官方的最佳实践建议。但
在专用实例/集群中运行 Vault
有限/无法访问其内存。使用 HA 模式运行 Vault
支持它的后端很好。如果任何集群节点发生
关闭或如果 Vault 进程重新启动,它将处于密封状态
状态并要求执行开封操作以使
它运行。
最好,
维沙尔