Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backport to 1.4.x: Configurable auth metadata for AWS #8866

Merged
merged 1 commit into from Apr 27, 2020

Conversation

tyrannosaurus-becks
Copy link
Contributor

Backports #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>
@tyrannosaurus-becks tyrannosaurus-becks added this to the 1.4.1 milestone Apr 27, 2020
@tyrannosaurus-becks tyrannosaurus-becks requested a review from a team April 27, 2020 20:44
@tyrannosaurus-becks tyrannosaurus-becks merged commit f03b22d into release/1.4.x Apr 27, 2020
@tyrannosaurus-becks tyrannosaurus-becks deleted the backport-pr-8783-1.4.x branch April 27, 2020 22:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants