-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vault API Client Tweaks #4817
Vault API Client Tweaks #4817
Commits on Nov 20, 2018
-
Set User-Agent header when hitting Vault API
Mahmood Ali committedNov 20, 2018 Configuration menu - View commit details
-
Copy full SHA for feaf621 - Browse repository at this point
Copy the full SHA feaf621View commit details -
Set a 1s floor for Vault renew operation backoff
Mahmood Ali committedNov 20, 2018 Configuration menu - View commit details
-
Copy full SHA for 05d9b39 - Browse repository at this point
Copy the full SHA 05d9b39View commit details -
Emit metric counters for Vault token and renewal failures
Mahmood Ali committedNov 20, 2018 Configuration menu - View commit details
-
Copy full SHA for 88c1698 - Browse repository at this point
Copy the full SHA 88c1698View commit details -
Wrap Vault API api errors for easing debugging
Mahmood Ali committedNov 20, 2018 Configuration menu - View commit details
-
Copy full SHA for f181f1a - Browse repository at this point
Copy the full SHA f181f1aView commit details -
Mahmood Ali committed
Nov 20, 2018 Configuration menu - View commit details
-
Copy full SHA for 0fc84f4 - Browse repository at this point
Copy the full SHA 0fc84f4View commit details -
Add a gauge to track remaining time-to-live, duration of renewal request API call.
Mahmood Ali committedNov 20, 2018 Configuration menu - View commit details
-
Copy full SHA for a0921cc - Browse repository at this point
Copy the full SHA a0921ccView commit details -
Avoid explicit precomputed stats field
Seems like the stats field is a micro-optimization that doesn't justify the complexity it introduces. Removing it and computing the stats from revoking field directly.
Mahmood Ali committedNov 20, 2018 Configuration menu - View commit details
-
Copy full SHA for 887704e - Browse repository at this point
Copy the full SHA 887704eView commit details -
Populate agent-info with vault
Return Vault TTL info to /agent/self API and `nomad agent-info` command.
Mahmood Ali committedNov 20, 2018 Configuration menu - View commit details
-
Copy full SHA for 0816841 - Browse repository at this point
Copy the full SHA 0816841View commit details -
Mahmood Ali committed
Nov 20, 2018 Configuration menu - View commit details
-
Copy full SHA for 612825d - Browse repository at this point
Copy the full SHA 612825dView commit details -
Track renewal expiration properly
Mahmood Ali committedNov 20, 2018 Configuration menu - View commit details
-
Copy full SHA for df0cddd - Browse repository at this point
Copy the full SHA df0cdddView commit details -
Mahmood Ali committed
Nov 20, 2018 Configuration menu - View commit details
-
Copy full SHA for 91500c0 - Browse repository at this point
Copy the full SHA 91500c0View commit details -
Mahmood Ali committed
Nov 20, 2018 Configuration menu - View commit details
-
Copy full SHA for 6445745 - Browse repository at this point
Copy the full SHA 6445745View commit details -
Renew past recorded expiry till unrecoverable error
Keep attempting to renew Vault token past locally recorded expiry, just in case the token was renewed out of band, e.g. on another Nomad server, until Vault returns an unrecoverable error.
Mahmood Ali committedNov 20, 2018 Configuration menu - View commit details
-
Copy full SHA for 118300a - Browse repository at this point
Copy the full SHA 118300aView commit details -
nil secrets as recoverable to keep renew attempts
Mahmood Ali committedNov 20, 2018 Configuration menu - View commit details
-
Copy full SHA for 3a57b9c - Browse repository at this point
Copy the full SHA 3a57b9cView commit details