open-vault/builtin/credential/aws
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
..
cmd/aws
backend.go Always pick us-east-1 for the "aws" partition (#8679) 2020-04-03 15:08:56 -07:00
backend_e2e_test.go
backend_test.go Always pick us-east-1 for the "aws" partition (#8679) 2020-04-03 15:08:56 -07:00
cli.go
client.go
path_config_certificate.go
path_config_client.go
path_config_client_test.go
path_config_identity.go Add helper for aliasmetadata and add to AWS auth (#8783) 2020-04-27 10:06:07 -07:00
path_config_identity_test.go
path_config_sts.go
path_config_tidy_identity_whitelist.go
path_config_tidy_roletag_blacklist.go
path_identity_whitelist.go
path_login.go Add helper for aliasmetadata and add to AWS auth (#8783) 2020-04-27 10:06:07 -07:00
path_login_test.go Add helper for aliasmetadata and add to AWS auth (#8783) 2020-04-27 10:06:07 -07:00
path_role.go
path_role_tag.go
path_role_test.go
path_roletag_blacklist.go
path_tidy_identity_whitelist.go
path_tidy_roletag_blacklist.go