Secrets

sim secrets is also spelled sim secret.

Every command below also accepts the global options.

Delete secret

sim secrets delete <name> [options]

Arguments

ArgumentRequiredDescription
nameYesSecret to create, replace, or 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, --yesNoSkip the confirmation.

List secrets

sim secrets list [options]

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 100.

Create or replace a named secret

sim secrets set <name> [options]

Arguments

ArgumentRequiredDescription
nameYesSecret name, as referenced in workflows

Options

OptionRequiredDescription
--scope <scope>YesSecret ownership scope. Accepted values: workspace, personal.
--value <value>NoSecret value; visible to shell history when supplied directly.

On this page