open-vault/sdk/logical
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.go
auth.go
connection.go
controlgroup.go
error.go
identity.pb.go Add helper for aliasmetadata and add to AWS auth (#8783) 2020-04-27 10:06:07 -07:00
identity.proto Add helper for aliasmetadata and add to AWS auth (#8783) 2020-04-27 10:06:07 -07:00
lease.go
lease_test.go
logical.go
logical_storage.go
plugin.pb.go
plugin.proto
request.go Fix outdated comment about logical request path (#8653) 2020-04-02 08:53:16 +02:00
response.go Add download headers to snapshot take API (#7369) 2019-09-06 10:34:36 -07:00
response_util.go
response_util_test.go
secret.go
storage.go Exit ScanView if context has been cancelled (#7419) 2019-09-04 09:18:19 -04:00
storage_inmem.go
storage_inmem_test.go
storage_test.go Exit ScanView if context has been cancelled (#7419) 2019-09-04 09:18:19 -04:00
storage_view.go
system_view.go Add identity templating helper to sdk/framework (#8088) 2020-01-06 10:16:52 -08:00
testing.go
token.go
token_test.go
translate_response.go