-
Notifications
You must be signed in to change notification settings - Fork 256
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
[Plugins]: Improve the Shuttle Secrets plugin #1571
Comments
I'm thoroughly happy with the simplicity of secrets. It follows similar frameworks such as Cloudflare workers, except is even easier to work with. Please don't change :( |
Yeah I like the current implementation of using |
To clarify the idea: |
I think that having multiple ways to do this makes the feature more complicated, and makes reading other projects slightly more involved. There should really only be 2 files capable of setting secrets, one for local runs and one for deployments.
Now this is great. Definitely would want it to be a deployment flag, though.
This makes no difference to me. The only reason I can see to not do this is to avoid pay the compilation cost for an unused module. But I can't imagine the secrets module would have any real impact on compile times.
Now this is something I would be very excited for. It's a bit annoying having to pass around secrets, or throw them into a global static variable. Would love to see this. |
Next.js uses
How about
env vars are kind of like global variables 😏 |
Another idea to consider: Supporting a way of automatically parsing it into a struct. #1666 |
The current approach to Secrets is Shuttle-native.
Evolving the plugin could include support for
.env
files and allowing the secrets to be set as env variables in more stages of the Shuttle deployment.Ideas are appreciated.
This issue is a part of the Product Feature Poll (all issues). React with 👍 if you want this feature. Comment if you have suggestions related to this feature.
The text was updated successfully, but these errors were encountered: