Novita.secret``.create() creates a team-scoped Secret and its first immutable version. It returns SecretBinding metadata and does not include the real value. The hosts allow list controls which hosts the real value may be substituted for on outbound HTTPS requests.
Prerequisites
CLI
Example
The example creates a Secret, launches a sandbox that references it viasecret_envs, uses the placeholder from inside the sandbox to call an allow-listed host, and kills the sandbox when done.
Parameters
If an active Secret with the same name already exists in the current team, the call returns
409 Conflict. novita.secret.create() returns SecretBinding metadata only ā it never returns the real value.