Hamid Ghaf
27bb03bbc0
adding copyright header ( #19555 )
...
* adding copyright header
* fix fmt and a test
2023-03-15 09:00:52 -07:00
Anton Averchenkov
23a3f950e4
Revert the WithContext changes to vault tests ( #14947 )
2022-04-07 15:12:58 -04:00
Anton Averchenkov
1222375d1a
Add context-aware functions to vault/api ( #14388 )
2022-03-23 17:47:43 -04:00
Jeff Mitchell
f7147025dd
Migrate to sdk/internalshared libs in go-secure-stdlib ( #12090 )
...
* Swap sdk/helper libs to go-secure-stdlib
* Migrate to go-secure-stdlib reloadutil
* Migrate to go-secure-stdlib kv-builder
* Migrate to go-secure-stdlib gatedwriter
2021-07-15 20:17:31 -04:00
Brian Kassouf
303c2aee7c
Run a more strict formatter over the code ( #11312 )
...
* Update tooling
* Run gofumpt
* go mod vendor
2021-04-08 09:43:39 -07:00
Calvin Leung Huang
c3caac76f1
token/renewal: return full set of token and identity policies in the … ( #8535 )
...
* token/renewal: return full set of token and identity policies in the policies field
* extend tests to cover additional token and identity policies on a token
* verify identity_policies returned on login and renewals
2020-03-31 13:36:45 -07:00
Calvin Leung Huang
67c0773df9
ldap, okta: fix renewal when login policies are empty ( #8072 )
...
* ldap, okta: fix renewal when login policies are empty
* test/policy: add test for login renewal without configured policy
* test/policy: remove external dependency on tests, refactor lease duration check
2020-01-16 09:42:35 -08:00
Jeff Mitchell
402ba1b0f0
Tokenhelper v2 ( #6662 )
...
This provides an sdk util for common token fields and parsing and plumbs it into token store roles.
2019-06-14 10:17:04 -04:00
Jeff Mitchell
8bcb533a1b
Create sdk/ and api/ submodules ( #6583 )
2019-04-12 17:54:35 -04:00
Jeff Mitchell
bbc1d53a5d
Revert "Refactor common token fields and operations into a helper ( #5953 )"
...
This reverts commit 66c226c593bb1cd48cfd8364ac8510cb42b7d67a.
2019-02-01 11:23:40 -05:00
Jeff Mitchell
85a560abba
Refactor common token fields and operations into a helper ( #5953 )
2019-01-30 16:23:28 -05:00
Jeff Mitchell
ba0d029247
Restricts ACL templating to paths but allows failures ( #5167 )
...
When a templating failure happens, we now simply ignore that path,
rather than fail all access to all policies
2018-08-23 12:15:02 -04:00
Jeff Mitchell
4bf0b12bfa
Migrate external tests in vault folder
2018-08-22 20:50:52 -04:00