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

Add roleprovider for role assumption by ec2 instance #33

Closed
wants to merge 1 commit into from

Conversation

jorhett
Copy link

@jorhett jorhett commented Mar 10, 2022

How it is today

The AWS SDK supports role assumption without a web token but stdlib doesn't currently use it https://github.com/aws/aws-sdk-go/blob/main/aws/credentials/stscreds/assume_role_provider.go

What this PR changes

If WebIdentityTokenFile is empty, try to assume the role using pre-existing creds as documented in the provider above

Comments

This PR was created to identify a solution for hashicorp/terraform-provider-boundary#62

Please do not report that you don't like the naming, the comments, etc. This is me pointing out the problem and asking you to implement this however you see fit. Please take this PR and implement it according to your own guidelines.

@hashicorp-cla
Copy link

hashicorp-cla commented Mar 12, 2022

CLA assistant check
All committers have signed the CLA.

@heatherezell
Copy link

As I mentioned on Discuss, we'll be making a cross-team effort to get this reviewed and solidified for inclusion. I wanted to comment here as well for accountability and visibility as well. :)

@maxcoulombe maxcoulombe added the enhancement New feature or request label Sep 21, 2022
@modesvops
Copy link

modesvops commented Mar 30, 2023

Should resolve hashicorp/terraform-provider-vault#1808

@fairclothjm
Copy link
Contributor

closed by #57

@fairclothjm fairclothjm closed this Sep 8, 2023
@jorhett jorhett deleted the ec2-instance-assume-role branch November 19, 2023 01:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants