Skip to main content
Pocketenv has two ways to pass configuration into a sandbox:

Environment variables

CLI

SDK

Secrets

Secrets are encrypted at rest using libsodium. The value is never returned in API responses — only a redacted placeholder is shown.

CLI

SDK

Setting variables at sandbox creation

You can bake env vars and secrets into a sandbox at creation time via the SDK builder:

API

For direct API usage see: