Skip to main content
Novita.secret``.update() creates a new immutable version of an existing Secret and makes it active after the value is stored and the policy is persisted. Running executions keep the version and host policy selected at start; newly created, resumed, and cloned executions use the latest active version.

Prerequisites

CLI

Example

The example ensures a Secret exists, updates it with novita.secret.update(), launches a sandbox that references the updated Secret, uses the placeholder from inside the sandbox, and kills the sandbox when done.
Each update creates a new immutable version, which becomes active only after the value and policy are persisted. Already-running executions continue using the version selected at start; new, resumed, and cloned executions pick up the latest active version.
Last modified on August 6, 2026