Skip to content

Commit 625f6d8

Browse files
authored
Update sandbox env var markdown doc file (#831)
Remove the erroneous note about scoped command env vars.
1 parent 37d69be commit 625f6d8

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

  • apps/web/src/app/(docs)/docs/sandbox/environment-variables

apps/web/src/app/(docs)/docs/sandbox/environment-variables/page.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,10 @@ sandbox = Sandbox(
6464
</CodeGroup>
6565

6666
### 2. Setting environment variables when running code
67-
You can set environment variables for specific code execution call in the sandbox. This is recommended for passing secrets.
67+
You can set environment variables for specific code execution call in the sandbox.
6868

6969
<Note>
70-
- These environment variables are securely scoped to the command and will not be global or accessible inside the sandbox or for subsequent commands.
70+
- These environment variables are scoped to the command but are not private in the OS.
7171
- If you had a global environment variable with the same name, it will be overridden only for the command.
7272
</Note>
7373

@@ -92,10 +92,10 @@ result = sandbox.run_code(
9292
</CodeGroup>
9393

9494
### 3. Setting environment variables when running commands
95-
You can set environment variables for specific command execution in the sandbox. This is recommended for passing secrets.
95+
You can set environment variables for specific command execution in the sandbox.
9696

9797
<Note>
98-
- These environment variables are securely scoped to the command and will not be global or accessible inside the sandbox or for subsequent commands.
98+
- These environment variables are scoped to the command but are not private in the OS.
9999
- If you had a global environment variable with the same name, it will be overridden only for the command.
100100
</Note>
101101

0 commit comments

Comments
 (0)