Skip to main content

Run StrongDM CLI Script

Executes a StrongDM CLI script.

Installed version: 35.72.0.

info

If there's an error in a command in the middle of the script and the last command succeeds, the entire action will succeed, not revealing that some command may have failed.

note

Before using Kubernetes commands, you need to update the kubectl configuration and run: sdm kubernetes update-config --force. For more information see Connect to Kubernetes.

Parameters

ParameterDescription
CommandA single StrongDM command or a batch of StrongDM commands executed as a script.
Working DirectoryWhen a working directory is selected, the filesystem state is preserved across steps that use this directory. Files and changes in the chosen directory persist across steps, ensuring continuity. For more information, refer to the Create Working Directory action documentation for guidance on setting up and selecting working directories.

Automation Library Example

Run StrongDM CLI Script and Send Results via Slack

Automation LibraryPreview this Automation on desktop