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.
  1. 14 May, 2020 1 commit
  2. 06 Jan, 2020 1 commit
  3. 26 Aug, 2019 1 commit
    • Jeff Mitchell's avatar
      Move SudoPrivilege out of SystemView (#7266) · 5559d40c
      Jeff Mitchell authored
      * Move SudoPrivilege out of SystemView
      
      We only use this in token store and it literally doesn't work anything
      that isn't the token store or system mount, so we should stop exposing
      something that doesn't work.
      
      * Reconcile extended system view with sdk/logical a bit and put an explanation for why SudoPrivilege isn't moved over
      5559d40c
  4. 08 Jul, 2019 1 commit
  5. 05 Jul, 2019 1 commit
    • Mike Jarmy's avatar
      AWS upgrade role entries (#7025) · c48159ea
      Mike Jarmy authored
      * upgrade aws roles
      
      * test upgrade aws roles
      
      * Initialize aws credential backend at mount time
      
      * add a TODO
      
      * create end-to-end test for builtin/credential/aws
      
      * fix bug in initializer
      
      * improve comments
      
      * add Initialize() to logical.Backend
      
      * use Initialize() in Core.enableCredentialInternal()
      
      * use InitializeRequest to call Initialize()
      
      * improve unit testing for framework.Backend
      
      * call logical.Backend.Initialize() from all of the places that it needs to be called.
      
      * implement backend.proto changes for logical.Backend.Initialize()
      
      * persist current role storage version when upgrading aws roles
      
      * format comments correctly
      
      * improve comments
      
      * use postUnseal funcs to initialize backends
      
      * simplify test suite
      
      * improve test suite
      
      * simplify logic in aws role upgrade
      
      * simplify aws credential initialization logic
      
      * simplify logic in aws role upgrade
      
      * use the core's activeContext for initialization
      
      * refac...
      c48159ea
  6. 19 Jun, 2019 1 commit
    • Clint's avatar
      Combined Database Backend: Static Accounts (#6834) · 35667f93
      Clint authored
      * Add priority queue to sdk
      
      * fix issue of storing pointers and now copy
      
      * update to use copy structure
      
      * Remove file, put Item struct def. into other file
      
      * add link
      
      * clean up docs
      
      * refactor internal data structure to hide heap method implementations. Other cleanup after feedback
      
      * rename PushItem and PopItem to just Push/Pop, after encapsulating the heap methods
      
      * updates after feedback
      
      * refactoring/renaming
      
      * guard against pushing a nil item
      
      * minor updates after feedback
      
      * Add SetCredentials, GenerateCredentials gRPC methods to combined database backend gPRC
      
      * Initial Combined database backend implementation of static accounts and automatic rotation
      
      * vendor updates
      
      * initial implementation of static accounts with Combined database backend, starting with PostgreSQL implementation
      
      * add lock and setup of rotation queue
      
      * vendor the queue
      
      * rebase on new method signature of queue
      
      * remove mongo...
      35667f93
  7. 14 Jun, 2019 1 commit
    • Jeff Mitchell's avatar
      Tokenhelper v2 (#6662) · 263b96ef
      Jeff Mitchell authored
      This provides an sdk util for common token fields and parsing and plumbs it into token store roles.
      263b96ef
  8. 13 May, 2019 1 commit
  9. 13 Apr, 2019 1 commit
  10. 12 Apr, 2019 1 commit
  11. 05 Feb, 2019 1 commit
  12. 01 Feb, 2019 1 commit
  13. 30 Jan, 2019 1 commit
  14. 09 Jan, 2019 1 commit
    • Jim Kalafut's avatar
      Run goimports across the repository (#6010) · a5460303
      Jim Kalafut authored
      The result will still pass gofmtcheck and won't trigger additional
      changes if someone isn't using goimports, but it will avoid the
      piecemeal imports changes we've been seeing.
      a5460303
  15. 15 Oct, 2018 1 commit
  16. 22 Sep, 2018 1 commit
  17. 20 Sep, 2018 1 commit
  18. 18 Sep, 2018 1 commit
  19. 03 Aug, 2018 1 commit
  20. 11 Jul, 2018 1 commit
    • Jeff Mitchell's avatar
      Make proto · ff8becca
      Jeff Mitchell authored
      It appears the only thing that actually change is that the tag got
      `proto3` values added.
      ff8becca
  21. 04 Jun, 2018 2 commits
    • Chris Hoffman's avatar
      adding option go_package to protos (#4687) · 3b1ade70
      Chris Hoffman authored
      * adding option go_package to protos
      
      * switching proto output dir to relative paths
      3b1ade70
    • Chris Hoffman's avatar
      Add entity information request to system view (#4681) · 51bc3d88
      Chris Hoffman authored
      * Add entity information request to system view
      
      * fixing a few comments
      
      * sharing types between plugin and logical
      
      * sharing types between plugin and logical
      
      * fixing output directory for proto
      
      * removing extra replacement
      
      * adding mount type lookup
      
      * empty entities return nil instead of error
      
      * adding some comments
      51bc3d88
  22. 29 May, 2018 1 commit
  23. 09 May, 2018 1 commit
  24. 03 May, 2018 3 commits
  25. 03 Apr, 2018 1 commit
    • Chris Hoffman's avatar
      Core handling of TTLs (#4230) · 6e352065
      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 also manage the expiration time
      
      * set the estimate values before calling the renew request
      
      * moving calculate TTL to framework, revert removal of increment and issue time from logical
      
      * minor edits
      
      * addressing feedback
      
      * address more feedback
      6e352065
  26. 21 Mar, 2018 1 commit
    • Brian Kassouf's avatar
      Add options to mount tune and mount endpoints in preparation for versioning (#4155) · 1c443f22
      Brian Kassouf authored
      * Add some requirements for versioned k/v
      
      * Add a warning message when an upgrade is triggered
      
      * Add path help values
      
      * Make the kv header a const
      
      * Add the uid to mount entry instead of options map
      
      * Pass the backend aware uuid to the mounts and plugins
      
      * Fix comment
      
      * Add options to secret/auth enable and tune CLI commands (#4170)
      
      * Switch mount/tune options to use TypeKVPairs (#4171)
      
      * switching options to TypeKVPairs, adding bool parse for versioned flag
      
      * flipping bool check
      
      * Fix leases coming back from non-leased pluin kv store
      
      * add a test for updating mount options
      
      * Fix tests
      1c443f22
  27. 17 Feb, 2018 1 commit
  28. 15 Feb, 2018 1 commit
  29. 02 Feb, 2018 1 commit
  30. 26 Jan, 2018 1 commit
  31. 23 Jan, 2018 1 commit
  32. 18 Jan, 2018 1 commit
    • Brian Kassouf's avatar
      gRPC Backend Plugins (#3808) · 03f61088
      Brian Kassouf authored
      * Add grpc plugins
      
      * Add grpc plugins
      
      * Translate wrap info to/from proto
      
      * Add nil checks
      
      * Fix nil marshaling errors
      
      * Provide logging through the go-plugin logger
      
      * handle errors in the messages
      
      * Update the TLS config so bidirectional connections work
      
      * Add connectivity checks
      
      * Restart plugin and add timeouts where context is not availible
      
      * Add the response wrap data into the grpc system implementation
      
      * Add leaseoptions to pb.Auth
      
      * Add an error translator
      
      * Add tests for translating the proto objects
      
      * Fix rename of function
      
      * Add tracing to plugins for easier debugging
      
      * Handle plugin crashes with the go-plugin context
      
      * Add test for grpcStorage
      
      * Add tests for backend and system
      
      * Bump go-plugin for GRPCBroker
      
      * Remove RegisterLicense
      
      * Add casing translations for new proto messages
      
      * Use doneCtx in grpcClient
      
      * Use doneCtx in grpcClient
      
      * s/shutdown/shut down/
      03f61088