Secrets

sim secrets is also spelled sim secret.

Every command below also accepts the global options.

Delete secret

sim secrets delete <name> [options]

Delete Secret (OAuth login or personal API key required)

Arguments

ArgumentRequiredDescription
nameYesSecret to delete.

Options

OptionRequiredDescription
--scope <value>YesWhether the secret belongs to the workspace or to the caller. A personal secret belongs to the caller across every workspace, not to one workspace. Accepted values: workspace, personal.
-y, --yesYesConfirm this operation.

List secrets

sim secrets list [options]

List Secrets (OAuth login or personal API key required)

Options

OptionRequiredDescription
--scope <value>NoRestrict results to one ownership scope. Accepted values: workspace, personal.
--search <value>NoCase-insensitive substring match against the secret name.
--sort-by <value>NoField used to sort the result. Sorting by name is case-sensitive and follows the storage collation, so do not rely on a case-insensitive order. Accepted values: name, createdAt, updatedAt.
--sort-order <value>NoSort direction. Accepted values: asc, desc.
--limit <n>NoMaximum items to return (0 for everything). Defaults to 0.

Create or replace a named secret

sim secrets set <name> [options]

Create or replace a named secret (OAuth login or personal API key required)

Arguments

ArgumentRequiredDescription
nameYesSecret name, as referenced in workflows

Options

OptionRequiredDescription
--scope <scope>YesSecret ownership scope. Accepted values: workspace, personal.
--value <value|@file>NoSecret value. Passing it inline exposes it to shell history and process listings; @path reads it from a file and @- from stdin, verbatim — a trailing newline is part of the value, so write the file with printf rather than echo. Prefix a literal leading @ with a second one.
--description <description>NoWhat the secret is for, shown to teammates; workspace scope only. Omit to leave an existing description unchanged.
--unredactedNoOpt the workspace secret out of redaction: its value then appears in plaintext in run logs, model-visible content, and files, including publicly shared log links. Workspace scope only — sending it for a personal secret is rejected. Omit it to leave the current setting untouched. Pass --no-unredacted to restore redaction.
--no-unredactedNoSend --unredacted as false.