Personal secrets belong to the caller across workspaces. Workspace secrets are shared resources. Listings include stored values only for workspace secrets marked visible (unredacted); all other entries contain metadata.
sim secrets is also spelled sim secret.
These commands accept the global options.
List secrets
OAuth login or personal API key required.
Options
API request and response schemas: listSecrets.
Create or replace a named secret, such as an API key or environment variable
OAuth login or personal API key required.
Arguments
Options
Omit --value to enter it privately in a terminal. For an existing workspace secret, passing only --description or a redaction flag keeps the stored value and does not prompt. Personal secrets always require a value; they accept no writable metadata. In scripts, pass --value @path or --value @-.
API request and response schemas: setSecret.
Delete secret
OAuth login or personal API key required.
This deletes the secret; anything using it may stop working.
Arguments
Options
API request and response schemas: deleteSecret.