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

Infisical environment variable loading #1622

Open
Alexnortung opened this issue Dec 3, 2024 · 0 comments
Open

Infisical environment variable loading #1622

Alexnortung opened this issue Dec 3, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@Alexnortung
Copy link
Contributor

It would be nice to have infisical environment loading when entering the devenv shell. Just like the dotenv integration loads variables from a .env file, the infisical integration would also load secrets/env variables into the shell.

I have recently made this work with direnv, but I think it would be nicer for me and the team to use with devenv, so that everyone don't have to install infisical on their machine.

In the enterShell we can just add the following

eval $(infisical export --format=dotenv-export --silent)

What do you think?

I can create a PR for it if needed.

@Alexnortung Alexnortung added the enhancement New feature or request label Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant