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 da8dc640c5..02d2521ab2 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( ### 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. -- 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. @@ -92,10 +92,10 @@ result = sandbox.run_code( ### 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. -- 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.