File tree Expand file tree Collapse file tree
apps/web/src/app/(docs)/docs/sandbox/environment-variables Expand file tree Collapse file tree Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments