EnvironmentVariables resource provides methods for managing environment variables inside sandboxes at runtime.
Accessing Environment Variables Resource
Getting Environment Variables
getAll()
Get all environment variables.
get()
Get a specific environment variable value.
Setting Environment Variables
set()
Set a single environment variable (merges with existing).
setAll()
Replace all environment variables (destructive).
update()
Update specific environment variables (merge with existing).
Deleting Environment Variables
delete()
Delete an environment variable.
Related
- Sandbox Class - Main sandbox class
- Code Execution - Execute code with env vars

