.env file or hard-code into your script — API keys, model tokens, database URLs, webhook endpoints — belongs here instead.
The advantage over baking values into source is twofold:
- They never appear in your code or container images. You can commit your script to a public repo and the secret stays with your Lyceum account.
- They’re shared across runs. Update a token once and every subsequent run picks up the new value.
key, a value, and an is_secret flag. The is_secret flag affects how the value is displayed (always masked when set), but both kinds reach your code identically.
Reading secrets in your code
Secrets become normal environment variables in the run’s environment, accessible the usual way:REST API
| Method | Endpoint | Purpose |
|---|---|---|
GET | /environment-variables/ | List your variables |
POST | /environment-variables/ | Create or upsert (key, value, is_secret) |
DELETE | /environment-variables/{env_var_id} | Delete a single variable |
DELETE | /environment-variables/ | Delete every variable on your account |
Validation
- Names must start with a letter or underscore
- Names may contain letters, digits, and underscores only
- Duplicate names within a single request are rejected

