secret
A reference to a host secret, resolved only in the host.
Values never reach the log, prompts or the sandbox.
Import from @threads/core (TypeScript) or threads (Python).
function secret(name: string): SecretParameters
namestringrequiredThe name of the host environment variable that holds the value. It is read only when host code needs it; an unset or empty variable is a setup error missing_secret.