Set EdgeSpark runtime vars for non-sensitive configuration, type the keys in runtime.ts, and read them safely in server code.
Use vars for plain, non-sensitive configuration such as public API base URLs, feature flags, log levels, and OAuth client IDs. Use secrets for credentials, tokens, and signing keys.
Vars are scoped to the current environment. For newly created projects today, that means the current default production environment.
Public staging support is coming soon. When it lands, staging and production will keep separate var sets under the same key names.
Vars are for plain configuration only. If a value would be harmful to expose in logs, prompts, or copy-pasted shell history, use edgespark secret set instead.
See platform limits for current var naming and quota constraints.