-
Notifications
You must be signed in to change notification settings - Fork 769
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
Feature Request > GitHub App authentication support #514
Comments
I would add that it would be nice to be able to use repository deployment keys in the same fashion. While this would limit the overall functionality of the provider, it would be nice to not have to tie the use of the provider to a specific user account. |
It's been on my list to port over - but you can use this provider to auth via Github App, and feed the token into the official Github Terraform provider: Provider schema: https://github.com/patrickmarabeas/terraform-provider-github-v4/blob/master/github-v4/provider.go#L31 Access the token: https://github.com/patrickmarabeas/terraform-provider-github-v4/blob/master/github-v4/data_source_github_token.go Beware of the differences in auth and access that Github Apps have. |
Very interested in seeing this one ship. Thanks for getting the discussion started! |
I'll start working on integrating the functionality: https://github.com/terraform-providers/terraform-provider-github/pull/613 |
Is there a simple string I can generate by hand that encodes OAuth2 info in it that will drop-in work in the existing provider? The docs say
But I can't figure out what to give it. We're not OAuth2 knowledgable here, so any help or examples would be deeply appreciated. We're hitting our API limits constantly and need to switch over to the GitHub VCS connection established by Terraform.io. |
Hey @patrickmarabeas, I started a new one from scratch here. This message is just to make sure we aren't duplicating efforts 😉 |
@alloveras yeah they moved the repo. I haven't done much more, so sweet as 👍 |
Terraform Version
v0.13.0-beta3
Affected Resource(s)
Terraform Configuration Files
Debug Output
n/a, this feature doesn't exist
Panic Output
n/a, this feature doesn't exist
Expected Behavior
Terraform authenticates as a GitHub App, this removes the need of making a bot GitHub account for terraform usage
Actual Behavior
n/a, this feature doesn't exist
Steps to Reproduce
n/a, this feature doesn't exist
Important Factoids
References
The text was updated successfully, but these errors were encountered: