open-vault/builtin
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
..
audit Format requests/responses ahead of time in file audit (#7024) 2019-07-01 16:07:03 -04:00
credential Add helper for aliasmetadata and add to AWS auth (#8783) 2020-04-27 10:06:07 -07:00
logical Fix: rotate root credentials for database plugins using WAL (#8782) 2020-04-22 16:21:28 -07:00
plugin Add a unit test for plugin initialization (#7158) 2019-09-26 10:01:45 -04:00