community.hashi_vault
community.hashi_vault copied to clipboard
look at implementing eventual consistency mitigations
SUMMARY
https://www.vaultproject.io/docs/enterprise/consistency#mitigations
This can happen in Vault performance standby mode where you do a login for example, and then do a subsequent request with the resulting token, and that request hits a node which does not yet have the token replicated to it, and so the request fails.
The retry support we have in the collection actually already mitigates this if it's enabled. But we may want to look at more deeply addressing this particular case, by way of the headers available.
Will need to look into this some more and what support hvac
already has. It may end up being a PR to hvac
instead and then some minimal consumption of it on our end.
ISSUE TYPE
- Feature Idea
COMPONENT NAME
N/A
ADDITIONAL INFORMATION
N/A