st2

CLI for StackStorm event-driven automation platform

Subcommands

NameDescription
runInvoke an action manually
actionAn activity that happens as a response to the external event
action-aliasAction aliases
authAuthenticate user and acquire access token
loginAuthenticate user, acquire access token, and update CLI config directory
whoamiDisplay the currently authenticated user
apikeyAPI Keys
executionAn invocation of an action
inquiryInquiries provide an opportunity to ask a question and wait for a response in a workflow
keyKey value pair is used to store commonly used configuration for reuse in sensors, actions, and rules
packA group of related integration resources: actions, rules, and sensors
policyPolicy that is enforced on a resource
policy-typeType of policy that can be applied to the resources
ruleA specification to invoke an 'action' on a 'trigger' selectively based on some criteria'
webhookWebhooks
timerTimers
runnerRunner is a type of handler for a specific class of actions
sensorAn adapter which allows you to integrate StackStorm with external system
traceA group of executions, rules and triggerinstances that are related
triggerAn external event that is mapped to a st2 input. It is the st2 invocation point
trigger-instanceActual instances of triggers received by st2
rule-enforcementModels that represent enforcement of rules
workflowAn adapter which allows you to integrate StackStorm with external system
service-registryService registry group and membership related commands
roleRBAC roles
role-assignmentRBAC role assignments

Options

NameDescription
--help, -hShow this help message and exit
--versionShow program's version number and exit
--url <BASE_URL>Base URL for the API servers. Assumes all servers use the same base URL and default ports are used. Get ST2_BASE_URL from the environment variables by default
--auth-url <AUTH_URL>URL for the authentication service. Get ST2_AUTH_URL from the environment variables by default
--api-url <API_URL>URL for the API server. Get ST2_API_URL from the environment variables by default
--stream-url <ST2_STREAM_URL>URL for the stream endpoint. Get ST2_STREAM_URLfrom the environment variables by default
--api-version <API_VERSION>API version to use. Get ST2_API_VERSION from the environment variables by default
--cacert <CACERT>Path to the CA cert bundle for the SSL endpoints. Get ST2_CACERT from the environment variables by default. If this is not provided, then SSL cert will not be verified
--config-file <CONFIG_FILE>Path to the CLI config file
--print-configParse the config file and print the values
--skip-configDon't parse and use the CLI config file
--debugEnable debug mode