Batch tokens are the best strategy when many short-lived workloads need to authenticate or interact with Vault at high volume. Unlike service tokens, batch tokens are lightweight encrypted blobs that do not require Vault to persist token state to disk. This reduces storage backend I/O during large-scale startup events, such as 1000+ containers requesting Vault access at the same time. Kubernetes auth and AppRole are authentication methods, but they do not by themselves eliminate token storage overhead. Short-TTL service tokens still require storage writes, and single-use tokens do not solve the backend I/O problem at scale. HashiCorp’s token documentation describes batch tokens as lightweight, scalable, and requiring no storage on disk to track them.
================
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit