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

Added support for IAP to roer #58

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

idiamant
Copy link

In order to work with roer using IAP, I've added this support.

It works either by setting a flag --iap and pasting the bearer token, or having the bearer token in environment variable $SPINNAKER_IAP_TOKEN.

In order to generate the token, there are several ways, either by using a service account JSON file, or by oauth web authentication with client ID and secret.
It's out of this code's scope, and therefore not added.

Ido Diamant added 2 commits October 15, 2021 22:23
This allows settings IAP Bearer token in env variable,
or pass an --iap flag with the token.
There were two methods that used direct httpClient instead
of the overridden one.
@idiamant
Copy link
Author

I know this repo isn't being maintained anymore, since roer is EOL, but I thought it may be of benefit to others too.
e.g. #56 - requested support for IAP long time ago.

@idiamant idiamant mentioned this pull request Oct 15, 2021
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.

1 participant