Skip to content

Enable bypassing Azure Key Vault #170

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

noahfalk
Copy link

For whatever reason permissions to Azure Key Vault aren't working for me
so I plumbed through an alternative to do local development on runfo.
See Documentation/DevWithoutKeyVault for details on the workflow.

Code-wise the primary changes are checking the USE_KEYVAULT environment
variable and some refactoring of the GitHubClientFactory to support using
the logged in user's OAuth token rather than the Runfo GH app official
identity. I also added the IConfiguration.GetNonNull() extension method and
used it in various places to proactively generate errors when the environment
has not provided configuration settings the app is relying on.

For whatever reason permissions to Azure Key Vault aren't working for me
so I plumbed through an alternative to do local development on runfo.
See Documentation/DevWithoutKeyVault for details on the workflow.

Code-wise the primary changes are checking the USE_KEYVAULT environment
variable and some refactoring of the GitHubClientFactory to support using
the logged in user's OAuth token rather than the Runfo GH app official
identity. I also added the IConfiguration.GetNonNull() extension method and
used it in various places to proactively generate errors when the environment
has not provided configuration settings the app is relying on.
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