open-vault/builtin/credential
Becca Petrin 3b420b0735
Add helper for aliasmetadata and add to AWS auth (#8783)
* add aliasmetadata sdk helper and add to aws auth

* split into ec2_metadata and iam_metadata fields

* fix tests

* strip pointer

* add test of default metadata

* more test <3

* switch from interface to custom marshallers

* add tests for marshalling

* store nil when selected fields are default

* separate loop into pieces

* separate acc test into multiple

* Update builtin/credential/aws/path_login.go

Co-Authored-By: Jim Kalafut <jkalafut@hashicorp.com>

* changes from feedback

* update aws test

* refactor to also populate auth metadata

* update how jsonification is tested

* only add populated metadata values

* add auth_type to ec2 logins

Co-authored-by: Jim Kalafut <jkalafut@hashicorp.com>
2020-04-27 10:06:07 -07:00
..
app-id Update to api 1.0.1 and sdk 0.1.8 2019-04-15 14:10:07 -04:00
approle Reduce blocking in approle tidy by grabbing only one lock at a time. (#8418) 2020-03-03 16:43:24 -05:00
aws Add helper for aliasmetadata and add to AWS auth (#8783) 2020-04-27 10:06:07 -07:00
cert Run go fmt (#7823) 2019-11-07 08:54:34 -08:00
github Add req.Connection check in front of bound cidrs (#7163) 2019-07-22 12:44:34 -04:00
ldap Improve error outputs (#8740) 2020-04-14 14:08:07 -06:00
okta The new okta library doesn't prepend /api/v1 to our URL paths like the old one does (we still use the old one in the absence of an API token, since the new one doesn't support that.) Make our shim prepend /api/v1 to manual requests for the new library like the old library does, and remove explicit /api/v1 from our request paths. (#8807) 2020-04-23 14:35:26 -04:00
radius Enable generated items for more auth methods (#7513) 2019-10-17 16:19:14 -07:00
token Move password to sdk 2019-04-12 18:12:13 -04:00
userpass userpass: fix upgrade value for token_bound_cidrs (#8826) 2020-04-23 14:00:21 -07:00