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 gcp auth target #131

Merged
merged 17 commits into from
Jul 21, 2023
Merged

Add gcp auth target #131

merged 17 commits into from
Jul 21, 2023

Conversation

elliesterner
Copy link
Contributor

@elliesterner elliesterner commented Jul 10, 2023

Verified this also works in GCP VM

@elliesterner elliesterner marked this pull request as ready for review July 10, 2023 23:50
@elliesterner elliesterner requested a review from a team as a code owner July 10, 2023 23:50
@elliesterner elliesterner requested review from ltcarbonell, davidadeleon and jasonodonnell and removed request for a team July 10, 2023 23:50
benchmarktests/target_auth_gcp.go Outdated Show resolved Hide resolved
Co-authored-by: Luis (LT) Carbonell <lt.carbonell@hashicorp.com>
Co-authored-by: Jason O'Donnell <2160810+jasonodonnell@users.noreply.github.com>
elliesterner and others added 2 commits July 17, 2023 20:09
Co-authored-by: Jason O'Donnell <2160810+jasonodonnell@users.noreply.github.com>
Copy link
Collaborator

@jasonodonnell jasonodonnell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Once we change the interface we can circle back and update that hardcoded JWT exp.

@elliesterner elliesterner merged commit 846c4b2 into main Jul 21, 2023
26 checks passed
ltcarbonell added a commit that referenced this pull request Jul 24, 2023
* rebase

* add getSignedJwt function

* add back context

* add randomness to signin

* updgrade deps

* add documentation

* remove ldap ref

* switch position

* fix spacing

* replace func

* fix params

* make sure proper token is signed based on iam vs gce

* Update benchmarktests/target_auth_gcp.go

Co-authored-by: Luis (LT) Carbonell <lt.carbonell@hashicorp.com>

* Update benchmarktests/target_auth_gcp.go

Co-authored-by: Jason O'Donnell <2160810+jasonodonnell@users.noreply.github.com>

* Update benchmarktests/target_auth_gcp.go

Co-authored-by: Jason O'Donnell <2160810+jasonodonnell@users.noreply.github.com>

* cleanup config

* fix name

---------

Co-authored-by: Luis (LT) Carbonell <lt.carbonell@hashicorp.com>
Co-authored-by: Jason O'Donnell <2160810+jasonodonnell@users.noreply.github.com>
@elliesterner elliesterner deleted the gcp-auth branch August 9, 2023 11:23
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

3 participants