Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

Update sandbox env var markdown doc file (#831)

0div625f6d830f0b
diff --git a/apps/web/src/app/(docs)/docs/sandbox/environment-variables/page.mdx b/apps/web/src/app/(docs)/docs/sandbox/environment-variables/page.mdx
index da8dc640c..02d2521ab 100644
--- a/apps/web/src/app/(docs)/docs/sandbox/environment-variables/page.mdx
+++ b/apps/web/src/app/(docs)/docs/sandbox/environment-variables/page.mdx
@@ -64,10 +64,10 @@ sandbox = Sandbox(
</CodeGroup>
### 2. Setting environment variables when running code
-You can set environment variables for specific code execution call in the sandbox. This is recommended for passing secrets.
+You can set environment variables for specific code execution call in the sandbox.
<Note>
-- These environment variables are securely scoped to the command and will not be global or accessible inside the sandbox or for subsequent commands.
+- These environment variables are scoped to the command but are not private in the OS.
- If you had a global environment variable with the same name, it will be overridden only for the command.
</Note>
@@ -92,10 +92,10 @@ result = sandbox.run_code(
</CodeGroup>
### 3. Setting environment variables when running commands
-You can set environment variables for specific command execution in the sandbox. This is recommended for passing secrets.
+You can set environment variables for specific command execution in the sandbox.
<Note>
-- These environment variables are securely scoped to the command and will not be global or accessible inside the sandbox or for subsequent commands.
+- These environment variables are scoped to the command but are not private in the OS.
- If you had a global environment variable with the same name, it will be overridden only for the command.
</Note>