Skip to content
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

Merged
merged 14 commits into from
Nov 20, 2018
Merged

Vault API Client Tweaks #4817

merged 14 commits into from
Nov 20, 2018

Commits on Nov 20, 2018

  1. Set User-Agent header when hitting Vault API

    Mahmood Ali committed Nov 20, 2018
    Configuration menu
    Copy the full SHA
    feaf621 View commit details
    Browse the repository at this point in the history
  2. Set a 1s floor for Vault renew operation backoff

    Mahmood Ali committed Nov 20, 2018
    Configuration menu
    Copy the full SHA
    05d9b39 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    88c1698 View commit details
    Browse the repository at this point in the history
  4. Wrap Vault API api errors for easing debugging

    Mahmood Ali committed Nov 20, 2018
    Configuration menu
    Copy the full SHA
    f181f1a View commit details
    Browse the repository at this point in the history
  5. address review comments

    Mahmood Ali committed Nov 20, 2018
    Configuration menu
    Copy the full SHA
    0fc84f4 View commit details
    Browse the repository at this point in the history
  6. More metrics for Server vault

    Add a gauge to track remaining time-to-live, duration of renewal request API call.
    Mahmood Ali committed Nov 20, 2018
    Configuration menu
    Copy the full SHA
    a0921cc View commit details
    Browse the repository at this point in the history
  7. 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 committed Nov 20, 2018
    Configuration menu
    Copy the full SHA
    887704e View commit details
    Browse the repository at this point in the history
  8. Populate agent-info with vault

    Return Vault TTL info to /agent/self API and `nomad agent-info` command.
    Mahmood Ali committed Nov 20, 2018
    Configuration menu
    Copy the full SHA
    0816841 View commit details
    Browse the repository at this point in the history
  9. reconcile interface

    Mahmood Ali committed Nov 20, 2018
    Configuration menu
    Copy the full SHA
    612825d View commit details
    Browse the repository at this point in the history
  10. Track renewal expiration properly

    Mahmood Ali committed Nov 20, 2018
    Configuration menu
    Copy the full SHA
    df0cddd View commit details
    Browse the repository at this point in the history
  11. round ttl duration for users

    Mahmood Ali committed Nov 20, 2018
    Configuration menu
    Copy the full SHA
    91500c0 View commit details
    Browse the repository at this point in the history
  12. fix typo

    Mahmood Ali committed Nov 20, 2018
    Configuration menu
    Copy the full SHA
    6445745 View commit details
    Browse the repository at this point in the history
  13. 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 committed Nov 20, 2018
    Configuration menu
    Copy the full SHA
    118300a View commit details
    Browse the repository at this point in the history
  14. nil secrets as recoverable to keep renew attempts

    Mahmood Ali committed Nov 20, 2018
    Configuration menu
    Copy the full SHA
    3a57b9c View commit details
    Browse the repository at this point in the history