vault/sdk/logical
Becca Petrin 03332aaf8d
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 Allow plugins to submit audit requests/responses via extended SystemView (#6777) 2019-05-22 18:52:53 -04:00
auth.go Tokenhelper v2 (#6662) 2019-06-14 10:17:04 -04:00
connection.go Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00
controlgroup.go Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00
error.go Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00
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_test.go Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00
lease.go Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00
logical_storage.go Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00
logical.go AWS upgrade role entries (#7025) 2019-07-05 16:55:40 -07:00
plugin.pb.go Update protobufs, sdk changes 2019-04-12 23:13:14 -04:00
plugin.proto Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00
request.go Fix outdated comment about logical request path (#8653) 2020-04-02 08:53:16 +02:00
response_util_test.go Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00
response_util.go Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00
response.go Add download headers to snapshot take API (#7369) 2019-09-06 10:34:36 -07:00
secret.go Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00
storage_inmem_test.go Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00
storage_inmem.go Revert "Merge StoragePackerV2 implementation (#6874)" (#6997) 2019-06-26 19:26:06 -05:00
storage_test.go Exit ScanView if context has been cancelled (#7419) 2019-09-04 09:18:19 -04:00
storage_view.go Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00
storage.go Exit ScanView if context has been cancelled (#7419) 2019-09-04 09:18:19 -04:00
system_view.go Add identity templating helper to sdk/framework (#8088) 2020-01-06 10:16:52 -08:00
testing.go Fix import cycle 2019-07-02 21:01:34 -04:00
token_test.go sdk/logical: handle empty token type string values as TokenTypeDefault (#7273) 2019-08-14 09:45:40 -04:00
token.go sdk/logical: handle empty token type string values as TokenTypeDefault (#7273) 2019-08-14 09:45:40 -04:00
translate_response.go Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00