com.lookout.borderpatrol.sessionx.SecretStores
Get the current secret from the cache layer
Get the current secret from the cache layer
Fetch the Secrets (i.e.
Fetch the Secrets (i.e. value) from Consul - Skip this step, if result (input) is already successful
Look for the Secret being checked in the function.
Look for the Secret being checked in the function.
Poll worker that keep the in sync with the "secrets" in Consul.
Poll worker that keep the in sync with the "secrets" in Consul. It uses 3 step process to do so: 1. get latest secrets from consul (if valid, set the timer until expiry) 2. update/put the new secrets in consul (if success, then that becomes new secret) 3. get the secrets again (if step2 failed, set the timer until secrets expiry)
On any failure, the whole process is repeated after 1 minute
Get the previous secret from the cache layer
Get the previous secret from the cache layer
A store to access the current and previous com.lookout.borderpatrol.sessionx.Secrets stored in the consul server.