Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.coreweave.com/llms.txt

Use this file to discover all available pages before exploring further.

Source: src/cwsandbox/_types.py:153
class Secret(*, store: str, name: str, field: str = '', env_var: str | None = None)
A secret to inject from a store into a sandbox environment variable. All fields are keyword-only. When env_var is not specified it defaults to name. Plain dicts with matching keys are also accepted and converted automatically. Attributes
  • field (str) : Specific field within a structured secret (optional). Default: ''.
  • env_var (str | None) : Environment variable the secret is injected as (defaults to name).
Last modified on April 21, 2026