Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 Spring Vault,需要连接到两个 Vault 服务器,一个用于机密,另一个用于传输操作。(我的集群有更多的传输操作。)如何为这个配置设置 Spring Vault(也使用 Spring Cloud Vault)?
你有两个选择:
VaultTemplate
VaultEndpointProvider
ThreadLocal
Spring Vault 使用可插入的客户端模型,在即将推出的版本中,您将能够控制RestTemplate创建并挂钩到UriTemplateHandler哪个是要扩展的适当类。
RestTemplate
UriTemplateHandler