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

Keep environment variables on calling plugin #2661

Closed
wants to merge 1 commit into from

Conversation

walterwanderley
Copy link

Trying to convert https://github.com/walterwanderley/sqlc-grpc into a plugin

@kyleconroy
Copy link
Collaborator

We intentionally limit the environment variables sent to process-based plugins to ensure that those plugins can't easily steal credentials stored in the environment. I'm happy to add an allowlist of variables though and include just those. Which environment variables does your plugin need access to?

@walterwanderley
Copy link
Author

Ok, Just need the PATH env.

@kyleconroy
Copy link
Collaborator

Merged the other PR, will be available in the next release :)

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.

2 participants