Generate new wrapped token Hashicorp Vault - Stack Overflow

admin2025-04-06  1

My application works with HashiCorp Vault, and for the initial launch, it needs to authenticate with Vault. Administrators place a wrapped token on my filesystem for authentication. However, when my application restarts, since the wrapped token is single-use, I can't reuse it.

Can I programmatically request Vault to generate a new wrapped token via API while the application is running normally (e.g., every 8 hours)? Then, during a restart, the application could use the fresh, unused wrapped token that I generated earlier.

What API requests are needed for this, and what parameters should they include?

转载请注明原文地址:http://conceptsofalgorithm.com/Algorithm/1743952918a225397.html

最新回复(0)