Skip to content

How can I add environment variables? #83

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
Mng-dev-ai opened this issue Mar 20, 2025 · 1 comment
Open

How can I add environment variables? #83

Mng-dev-ai opened this issue Mar 20, 2025 · 1 comment

Comments

@Mng-dev-ai
Copy link

I tried something like echo 'export MY_SECRET="secure_value"' >> ~/.bashrc && source ~/.bashrc but it doesn't work

@christianalfoni
Copy link
Contributor

Hi there 😄

So we have secrets for our Sandboxes, but we are still working on making them available for SDK users. The example you sent is likely because you did not send the "ENTER" character to actually run the command. shell.write just writes to the shell, so you need to give it all characters, including "hitting enter" 😄

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

No branches or pull requests

2 participants