This project is mirrored from https://gitee.com/NQL886/vault.git.
Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
- 15 Oct, 2018 1 commit
-
-
Jeff Mitchell authored
-
- 09 Oct, 2018 1 commit
-
-
Becca Petrin authored
-
- 17 Sep, 2018 1 commit
-
-
Brian Kassouf authored
* Fix approle tidy on performance standbys * Forward PKI and AWS also
-
- 21 Aug, 2018 1 commit
-
-
Jeff Mitchell authored
Fixes #5034
-
- 25 Jul, 2018 2 commits
-
-
Jeff Mitchell authored
-
Jeff Mitchell authored
-
- 24 Jul, 2018 1 commit
-
-
Jeff Mitchell authored
-
- 23 Jul, 2018 1 commit
-
-
Jeff Mitchell authored
-
- 12 Jul, 2018 1 commit
-
-
Jeff Mitchell authored
-
- 11 Jul, 2018 1 commit
-
-
Jeff Mitchell authored
This change makes it so that if a lease is revoked through user action, we set the expiration time to now and update pending, just as we do with tokens. This allows the normal retry logic to apply in these cases as well, instead of just erroring out immediately. The idea being that once you tell Vault to revoke something it should keep doing its darndest to actually make that happen.
-
- 20 Jun, 2018 1 commit
-
-
Becca Petrin authored
-
- 18 Jun, 2018 1 commit
-
-
Vishal Nayak authored
-
- 16 Jun, 2018 1 commit
-
-
Jeff Mitchell authored
* Add an idle timeout for the server Because tidy operations can be long-running, this also changes all tidy operations to behave the same operationally (kick off the process, get a warning back, log errors to server log) and makes them all run in a goroutine. This could mean a sort of hard stop if Vault gets sealed because the function won't have the read lock. This should generally be okay (running tidy again should pick back up where it left off), but future work could use cleanup funcs to trigger the functions to stop. * Fix up tidy test * Add deadline to cluster connections and an idle timeout to the cluster server, plus add readheader/read timeout to api server
-
- 11 Jun, 2018 1 commit
-
-
Vishal Nayak authored
* Fix panic due to metadata being nil * added a nil check * Added a test * ensure metadata is never nil * Remove unnecessary allocation * revert back to early initialization
-
- 09 Jun, 2018 1 commit
-
-
Jeff Mitchell authored
Taking inspiration from https://github.com/golang/go/issues/17604#issuecomment-256384471 suggests that taking the address of a stack variable for use in atomics works (at least, the race detector doesn't complain) but is doing it wrong. The only other change is a change in Leader() detecting if HA is enabled to fast-path out. This value never changes after NewCore, so we don't need to grab the read lock to check it.
-
- 05 Jun, 2018 1 commit
-
-
Vishal Nayak authored
-
- 04 May, 2018 1 commit
-
-
Vishal Nayak authored
* make invalid role_id a 400 error * remove single-use validateCredentials function * remove single-use validateBindSecretID function * adjust the error message for CIDR check failure * locking updates as review feedback
-
- 24 Apr, 2018 10 commits
-
-
vishalnayak authored
-
vishalnayak authored
-
vishalnayak authored
-
vishalnayak authored
-
vishalnayak authored
-
vishalnayak authored
-
vishalnayak authored
-
vishalnayak authored
-
vishalnayak authored
-
vishalnayak authored
-
- 23 Apr, 2018 8 commits
-
-
vishalnayak authored
-
vishalnayak authored
-
vishalnayak authored
-
vishalnayak authored
-
vishalnayak authored
-
vishalnayak authored
-
vishalnayak authored
-
vishalnayak authored
-
- 05 Apr, 2018 1 commit
-
-
Vishal Nayak authored
* package api * package builtin/credential * package builtin/logical * package command * package helper * package http and logical * package physical * package shamir * package vault * package vault * address feedback * more fixes
-
- 04 Apr, 2018 1 commit
-
-
Chris Hoffman authored
* Fix missing ttl handling in backends * fix test
-
- 03 Apr, 2018 1 commit
-
-
Chris Hoffman authored
* govet cleanup in token store * adding general ttl handling to login requests * consolidating TTL calculation to system view * deprecate LeaseExtend * deprecate LeaseExtend * set the increment to the correct value * move calculateTTL out of SystemView * remove unused value * add back clearing of lease id * implement core ttl in some backends * removing increment and issue time from lease options * adding ttl tests, fixing some compile issue * adding ttl tests * fixing some explicit max TTL logic * fixing up some tests * removing unneeded test * off by one errors... * adding back some logic for bc * adding period to return on renewal * tweaking max ttl capping slightly * use the appropriate precision for ttl calculation * deprecate proto fields instead of delete * addressing feedback * moving TTL handling for backends to core * mongo is a secret backend not auth * adding estimated ttl for backends that...
-
- 20 Mar, 2018 1 commit
-
-
Josh Soref authored
-
- 08 Mar, 2018 1 commit
-
-
Vishal Nayak authored
* Use TypeCommaStringSlice for Approle bound_cidr_list * update docs * Add comments in the test
-