open-vault/sdk
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
..
database Fix: rotate root credentials for database plugins using WAL (#8782) 2020-04-22 16:21:28 -07:00
framework clarify that EditType is optional (#8386) 2020-02-19 11:44:22 -06:00
helper Add helper for aliasmetadata and add to AWS auth (#8783) 2020-04-27 10:06:07 -07:00
logical Add helper for aliasmetadata and add to AWS auth (#8783) 2020-04-27 10:06:07 -07:00
physical Remove EncryptedBlobInfo in Entry 2020-02-14 17:03:40 -05:00
plugin Add identity templating helper to sdk/framework (#8088) 2020-01-06 10:16:52 -08:00
queue Fixed a bunch of typos (#7146) 2019-07-18 21:10:15 -04:00
version Update the version prelease value (#8748) 2020-04-16 10:10:35 -07:00
go.mod Move reload/listenerutil/gatedwriter back out of sdk 2020-02-15 14:56:00 -05:00
go.sum Move reload/listenerutil/gatedwriter back out of sdk 2020-02-15 14:56:00 -05:00
README.md Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00

Vault SDK libs

This package provides the sdk package which contains code useful for developing Vault plugins.

Although we try not to break functionality, we reserve the right to reorganize the code at will and may occasionally cause breaks if they are warranted. As such we expect the tag of this module will stay less than v1.0.0.

For any major changes we will try to give advance notice in the CHANGES section of Vault's CHANGELOG.md.