CLI Actions enable you to run CLI scripts against external service providers such as AWS, GCP, Kubernetes, Azure, Terraform, Git, and many more.
CLI Actions enable you to run CLI scripts against external service providers such as AWS, GCP, Kubernetes, Azure, Terraform, Git, and many more.
All CLI Actions are preserved between the different steps of the Workflows execution.NOTE: 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.
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"BlinkOps Documentation","colors":{"primary":"#1f7ef2","light":"#1f7ef2","dark":"#0080ff"},"logo":{"light":"https://mintcdn.com/blinkops-2/br6cLdqXY9MZvLgO/logo/light.svg?fit=max\u0026auto=format\u0026n=br6cLdqXY9MZvLgO\u0026q=85\u0026s=55c0663d06bf9395563193d3a5259b7a","dark":"https://mintcdn.com/blinkops-2/br6cLdqXY9MZvLgO/logo/dark.svg?fit=max\u0026auto=format\u0026n=br6cLdqXY9MZvLgO\u0026q=85\u0026s=07f1e67e71da76c022a7070bf00b12a7","href":"https://docs.blinkops.com/"},"favicon":"https://mintcdn.com/blinkops-2/TqQZZZpDuOn7Wlvq/favicon.png?fit=max\u0026auto=format\u0026n=TqQZZZpDuOn7Wlvq\u0026q=85\u0026s=2f51ab37ee8d63c712d36d21be7104ed","background":{"color":{"dark":"#091120"}},"navbar":{"links":[{"href":"https://app.blinkops.com/","label":"Login"}],"primary":{"type":"button","label":"Get Started","href":"https://www.blinkops.com/schedule-time"}},"footer":{"socials":{"youtube":"https://www.youtube.com/channel/UCHPSbeyNTFR8_rTGjV7V9ow","x":"https://twitter.com/getblinkops","linkedin":"https://www.linkedin.com/company/blink-ops"}},"styling":{"codeblocks":"dark","latex":true},"integrations":{"gtm":{"tagId":"GTM-MWQHTL5"}},"contextual":{"options":["copy","download-spec","chatgpt","claude","mcp","cursor","vscode"],"display":"header"},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"blinkops-2","hasAudioNarration":false,"actualSubdomain":"blinkops-2","customDomains":["docs.blinkops.com"],"gitSource":{"type":"github","owner":"blinkops","repo":"blink-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true,"edits":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"ENABLED"},"CONTEXTUAL_FEEDBACK":{"status":"ENABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6af1e2a3a4e37073d30d3799","clientVersion":"0.0.4111","searchFilterCounts":[{"language":"default","tag":"Integrations","count":12922},{"language":"default","tag":"Actions","count":5655},{"language":"default","tag":"Triggers","count":345},{"language":"default","tag":"AWS","count":161},{"language":"default","tag":"Case Management","count":109},{"language":"default","tag":"CrowdStrike","count":106},{"language":"default","tag":"Workflows","count":96},{"language":"default","tag":"Rapid7","count":83},{"language":"default","tag":"Platform","count":72},{"language":"default","tag":"Home","count":64}]},"assistantConfig":{},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"styles.css","content":"@import url(\"https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500;600;700;800;900\u0026family=Roboto:ital,wght@0,300;0,400;0,500;0,900;1,300;1,400;1,500;1,700\u0026display=swap\");@import \"tailwindcss\";@font-face{font-family:'Nacelle';src:url('https://cdn.prod.website-files.com/62000f475eba4d3330543f5b/652d7a00b58f4090a56b69d4_Nacelle-SemiBold.otf') format('opentype');font-weight:600;font-style:normal;font-display:swap}:root{--dark-mode-aware-p-color-alt: rgba(0, 0, 0, 0.50);--dark-mode-aware-dark-background-color: #1A283B;--dark-mode-aware-dark-border-color: #666;--dark-mode-aware-dark-text-color: #eee;--dark-mode-aware-dark-wrapper-background-color: #364150;--dark-mode-aware-dark-link-color: #ffffff;--dark-mode-aware-keyboard-shortcut: \"rgba(18, 18, 18, 0.85)\";--hero-background-image-light: url(\"https://mintlify.s3.us-west-1.amazonaws.com/blinkops-2/img/HeroLightV.svg\");--hero-background-image-dark: url(\"https://mintlify.s3.us-west-1.amazonaws.com/blinkops-2/img/HeroDark.svg\");--landing-page-image-light: url(\"https://mintlify.s3.us-west-1.amazonaws.com/blinkops-2/img/Hero.svg\");--landing-page-image-dark: url(\"https://mintlify.s3.us-west-1.amazonaws.com/blinkops-2/img/HeroDark.svg\");--integration-page-image-dark: url(\"/img/IntegrationsNote.svg\")}h1,h2,h3,h4{font-family:'Roboto';letter-spacing:normal!important}.hero-text h1{font-family:\"Roboto\";font-size:48px;font-style:normal;font-weight:800;line-height:63px;letter-spacing:2.4px}.hero-text h3{font-family:\"Roboto\";text-align:center;font-size:22px;font-style:normal;font-weight:400;line-height:25.2px;letter-spacing:0.96px}.background-image{background-image:var(--landing-page-image-light);height:330px;-webkit-background-size:cover;-moz-background-size:cover;-o-background-size:cover;background-size:cover;position:relative;width:100%;display:flex;align-items:center;justify-content:center;overflow:hidden}.integration-background-image{background-image:var(--integration-page-image-dark);height:400px;-webkit-background-size:cover;-moz-background-size:cover;-o-background-size:cover;background-size:cover;position:relative;width:100%;display:flex;align-items:center;justify-content:center;overflow:hidden}.dark .background-image{background-image:var(--landing-page-image-dark)}.paragraph-block{text-align:start;text-wrap:inherit}.paragraph{display:block;margin-block-start:0.5em;margin-block-end:1em;margin-inline-start:0px;margin-inline-end:0px;unicode-bidi:isolate;font-family:Roboto;font-size:28px;font-style:normal;font-weight:400;line-height:normal;color:var(----dark-mode-aware-p-color)}.dark .paragraph{color:#ffffff}.iframe{height:800px;width:100%}.hero{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:space-evenly;text-align:center;padding:2rem, 2rem, 2rem, 2rem;background-image:var(--hero-background-image-light);height:326px;-webkit-background-size:cover;-moz-background-size:cover;-o-background-size:cover;background-size:cover}.dark .hero{background-image:var(--hero-background-image-dark)}.hero-content{display:flex;flex-direction:column;align-items:flex-start;margin-bottom:1rem}.hero h1{font-size:2.5rem;font-weight:bold;margin-bottom:1.5rem;color:black}.search-bar{display:flex;align-items:center;background:transparent;border:1px solid #060709;border-radius:0.5rem;overflow:hidden}.search-bar input{border:none;padding:0.75rem 1rem;width:400px;height:43px;background:transparent;font-size:1rem;flex-grow:1;outline:none;border-radius:var(--Sizes-Radius-R-4-px, 8px);border:1px solid var(--Color-Transparent-White-10, #ffffff);background:var(--Color-Transparent-White-05, rgba(255, 255, 255, 0.05));backdrop-filter:blur(8px)}.dark ֿ.search-bar input{border:1px solid #ffffff}.dark #search{border:1px solid #ffff}.keyboard-shortcut{display:flex;align-items:center;background:transparent;border-radius:var(--Sizes-Radius-R-4-px, 4px);border:1px solid var(--Color-Transparent-White-10, rgba(255, 255, 255, 0.10));backdrop-filter:blur(8px);padding:0.5rem}.grid-table{margin-top:2rem;grid-column-gap:2.5rem;grid-row-gap:2.5rem;flex-flow:column;display:flex;align-items:center}#api-grid{grid-column-gap:5rem;grid-row-gap:1.25rem;grid-template-rows:auto;grid-template-columns:1fr 1fr 1fr 1fr;grid-auto-columns:1fr;display:grid;justify-items:center}.api-item{display:flex;padding:var(--Sizes-Padding-Possitive-32-px, 32px) var(--Sizes-Padding-Possitive-16-px, 16px);align-items:center;border:1px solid #e0e0e0;border-radius:16px;height:100px;width:300px;border-radius:16px;border:1px solid rgba(62, 149, 255, 0.04);background:#F4F4F4}.api-item img{height:24px;width:24px;padding:9px, 9px,9px 9px}.api-item span{font-size:1rem;font-weight:400;color:#FFF}.vendor-link{color:#000000;text-overflow:ellipsis;font-family:Roboto;font-size:20px;font-style:normal;font-weight:500;padding-left:24px;letter-spacing:1.12px}.wrapper{display:flex;justify-content:center;align-items:center;width:42px;height:42px;flex-shrink:0;border-radius:8px;background:#E3DFDF}.dark .dark-mode-aware{background:#1A283B}.dark .wrapper{background-color:#364150}.dark .vendor-link{color:#ffffff;text-overflow:ellipsis;font-family:Roboto;font-size:20px;font-style:normal;font-weight:500;padding-left:24px;letter-spacing:1.12px}.table{width:100%;overflow-x:auto}.table table{width:100%;border-collapse:collapse;text-align:left}.table th,.table td{padding:8px 12px;text-align:left;border-bottom:1px solid #ddd}table{display:table;max-width:90%;margin:20px auto}.integrations-table table{border-collapse:collapse;border-style:solid;max-width:fit-content;text-align:left;table-layout:fixed;align-items:left;border-color:#000000}.integrations-table code a{pointer-events:none;text-decoration:none;color:var(--ifm-table-cell-color);cursor:default}.integrations-table th:first-child{width:fit-content}.integrations-table th:second-child{width:50%;padding-right:10px}#var-table th:first-child{width:25%}#var-table th:nth-child(2){width:50%}.flow-table{width:100%;overflow-x:auto}.flow-table td{line-height:1.5;height:15px;vertical-align:middle}.flow-table table{border-collapse:collapse;border-style:solid;width:100%;max-width:100%;text-align:left;table-layout:fixed;align-items:left}.flow-table th,.flow-table td{width:25%;height:25%;border:1px solid #cccccc7f;padding:8px;text-align:left}.table-functions{border-collapse:collapse;border-style:hidden;width:100%;max-width:100%;text-align:left;table-layout:fixed}.footer-container{display:flex;flex-direction:row;justify-content:space-between;width:100%;margin-top:100px;align-items:center}.footer-icons{display:flex;gap:32px}.footer-title{font-family:Roboto;font-size:12px;font-style:normal;font-weight:400;line-height:16px}.footer-display{display:flex;flex-direction:row}.flow-control{display:flex}@media (max-width: 767px){.hero{flex-wrap:nowrap;flex-direction:column;justify-content:center}.hero{flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:1.5rem;height:auto;background-size:cover}.hero h1{font-size:2.5rem;font-weight:bold;margin-bottom:1.5rem;color:black}.hero-content{align-items:center}br{display:none}.paragraph{font-size:20px;margin-inline-start:30px}.search-bar input{width:fit-content}#api-grid{grid-column-gap:1rem;grid-row-gap:1rem;grid-template-rows:auto;grid-template-columns:1fr 1fr;display:grid;justify-items:flex-start}.api-item{display:flex;padding:var(--Sizes-Padding-Possitive-10-px, 10px) var(--Sizes-Padding-Possitive-16-px, 10px);height:100px;width:180px;justify-content:flex-start}.vendor-link{font-size:15px;padding-left:15px}.iframe{max-height:100%;height:unset;border-radius:32px}.table-functions th:first-child{width:17%}}@media (max-width: 996px){.hero{flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:1.5rem;height:auto;background-size:cover}.hero h1{font-size:2.5rem;font-weight:bold;margin-bottom:1.5rem;color:black}.hero-content{align-items:center}br{display:none}.paragraph{font-size:20px;margin-inline-start:30px}.search-bar input{width:fit-content}#api-grid{grid-column-gap:1rem;grid-row-gap:1rem;grid-template-rows:auto;grid-template-columns:1fr 1fr;display:grid;justify-items:flex-start}.api-item{display:flex;padding:var(--Sizes-Padding-Possitive-10-px, 10px) var(--Sizes-Padding-Possitive-16-px, 10px);height:100px;width:180px;justify-content:flex-start}.vendor-link{font-size:15px;padding-left:15px}}"}],"page":{"pagePath":"docs/workflows/building-workflows/actions/utility-actions/cli-actions","slug":"/docs/workflows/building-workflows/actions/utility-actions/cli-actions","pageMetadata":{"title":"CLI Actions","description":"CLI Actions enable you to run CLI scripts against external service providers such as AWS, GCP, Kubernetes, Azure, Terraform, Git, and many more.","href":"/docs/workflows/building-workflows/actions/utility-actions/cli-actions"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"CLI Actions enable you to run CLI scripts against external service providers such as AWS, GCP, Kubernetes, Azure, Terraform, Git, and many more.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={p:`p`,..._provideComponents(),...props.components},{Frame,OptimizedImage}=_components;if(!Frame)_missingMdxReference(`Frame`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);return _jsxs(_Fragment,{children:[_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/blinkops-2/LiDiL34PEmIGHJGK/img/Actions/cli_action.png?fit=max\u0026auto=format\u0026n=LiDiL34PEmIGHJGK\u0026q=85\u0026s=b7d632005dde496da3043ee206bc9a12`,\"data-og-width\":`1776`,width:`1776`,\"data-og-height\":`732`,height:`732`,\"data-path\":`img/Actions/cli_action.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/blinkops-2/LiDiL34PEmIGHJGK/img/Actions/cli_action.png?w=280\u0026fit=max\u0026auto=format\u0026n=LiDiL34PEmIGHJGK\u0026q=85\u0026s=0dce8dd574f4d4f57e8c2752ee1b11f1 280w, https://mintcdn.com/blinkops-2/LiDiL34PEmIGHJGK/img/Actions/cli_action.png?w=560\u0026fit=max\u0026auto=format\u0026n=LiDiL34PEmIGHJGK\u0026q=85\u0026s=27af8316ac83a60c99a81a45f134cbe2 560w, https://mintcdn.com/blinkops-2/LiDiL34PEmIGHJGK/img/Actions/cli_action.png?w=840\u0026fit=max\u0026auto=format\u0026n=LiDiL34PEmIGHJGK\u0026q=85\u0026s=1f1fa2261ad73911303b594199cd3bfe 840w, https://mintcdn.com/blinkops-2/LiDiL34PEmIGHJGK/img/Actions/cli_action.png?w=1100\u0026fit=max\u0026auto=format\u0026n=LiDiL34PEmIGHJGK\u0026q=85\u0026s=24a8f9319598ef354457f4235dcc3eaa 1100w, https://mintcdn.com/blinkops-2/LiDiL34PEmIGHJGK/img/Actions/cli_action.png?w=1650\u0026fit=max\u0026auto=format\u0026n=LiDiL34PEmIGHJGK\u0026q=85\u0026s=e7bdaad2cf0861b3bf5ac05c1978d6be 1650w, https://mintcdn.com/blinkops-2/LiDiL34PEmIGHJGK/img/Actions/cli_action.png?w=2500\u0026fit=max\u0026auto=format\u0026n=LiDiL34PEmIGHJGK\u0026q=85\u0026s=96b06475de073f311584bc08557903b9 2500w`})}),`\n`,_jsx(_components.p,{children:`CLI Actions enable you to run CLI scripts against external service providers such as AWS, GCP, Kubernetes, Azure, Terraform, Git, and many more.\nAll CLI Actions are preserved between the different steps of the Workflows execution.`}),`\n`,_jsx(_components.p,{children:`NOTE: 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.`})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":"dark","config":{},"pageMetadata":{"title":"CLI Actions","description":"CLI Actions enable you to run CLI scripts against external service providers such as AWS, GCP, Kubernetes, Azure, Terraform, Git, and many more.","href":"/docs/workflows/building-workflows/actions/utility-actions/cli-actions"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"subdomain":"blinkops-2","siteName":"BlinkOps Documentation","title":"CLI Actions - BlinkOps Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-01-28T13:57:05.495Z","originalFileLocation":"docs/workflows/building-workflows/actions/utility-actions/cli-actions.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"CLI Actions enable you to run CLI scripts against external service providers such as AWS, GCP, Kubernetes, Azure, Terraform, Git, and many more.\">\u003cmeta data-mint-head name=\"application-name\" content=\"BlinkOps Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/blinkops-2/7G_DZOlCBlov2A1k/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/blinkops-2/7G_DZOlCBlov2A1k/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/blinkops-2/7G_DZOlCBlov2A1k/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/blinkops-2/7G_DZOlCBlov2A1k/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/blinkops-2/7G_DZOlCBlov2A1k/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/blinkops-2/7G_DZOlCBlov2A1k/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/blinkops-2/7G_DZOlCBlov2A1k/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/blinkops-2/7G_DZOlCBlov2A1k/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/blinkops-2/7G_DZOlCBlov2A1k/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"CLI Actions - BlinkOps Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"CLI Actions enable you to run CLI scripts against external service providers such as AWS, GCP, Kubernetes, Azure, Terraform, Git, and many more.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"BlinkOps Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.blinkops.com/docs/workflows/building-workflows/actions/utility-actions/cli-actions\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://blinkops-2.mintlify.site/_mintlify/api/og/v2?division=Database+Actions\u0026amp;title=CLI+Actions\u0026amp;description=CLI+Actions+enable+you+to+run+CLI+scripts+against+external+service+providers+such+as+AWS%2C+GCP%2C+Kubernetes%2C+Azure%2C+Terraform%2C+Git%2C+and+many+more.\u0026amp;theme=b200a0f56e59028bcb9847ff\u0026amp;signature=90e69d55030f708559295b8faf256e2619364c1dcea9c2f68ba019d0e37237ea\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"CLI Actions - BlinkOps Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"CLI Actions enable you to run CLI scripts against external service providers such as AWS, GCP, Kubernetes, Azure, Terraform, Git, and many more.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://blinkops-2.mintlify.site/_mintlify/api/og/v2?division=Database+Actions\u0026amp;title=CLI+Actions\u0026amp;description=CLI+Actions+enable+you+to+run+CLI+scripts+against+external+service+providers+such+as+AWS%2C+GCP%2C+Kubernetes%2C+Azure%2C+Terraform%2C+Git%2C+and+many+more.\u0026amp;theme=b200a0f56e59028bcb9847ff\u0026amp;signature=90e69d55030f708559295b8faf256e2619364c1dcea9c2f68ba019d0e37237ea\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/blinkops-2/7G_DZOlCBlov2A1k/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"BlinkOps Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#1f7ef2\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.blinkops.com/docs/workflows/building-workflows/actions/utility-actions/cli-actions\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/workflows/building-workflows/actions/utility-actions/cli-actions.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.blinkops.com/#organization\",\"name\":\"BlinkOps Documentation\",\"url\":\"https://docs.blinkops.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/blinkops-2/br6cLdqXY9MZvLgO/logo/light.svg?fit=max\u0026auto=format\u0026n=br6cLdqXY9MZvLgO\u0026q=85\u0026s=55c0663d06bf9395563193d3a5259b7a\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.blinkops.com#website\",\"name\":\"BlinkOps Documentation\",\"url\":\"https://docs.blinkops.com\",\"publisher\":{\"@id\":\"https://docs.blinkops.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.blinkops.com/docs/workflows/building-workflows/actions/utility-actions/cli-actions#webpage\",\"url\":\"https://docs.blinkops.com/docs/workflows/building-workflows/actions/utility-actions/cli-actions\",\"name\":\"CLI Actions\",\"description\":\"CLI Actions enable you to run CLI scripts against external service providers such as AWS, GCP, Kubernetes, Azure, Terraform, Git, and many more.\",\"dateModified\":\"2026-01-28T13:57:05.495Z\",\"isPartOf\":{\"@id\":\"https://docs.blinkops.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.blinkops.com/docs/workflows/building-workflows/actions/utility-actions/cli-actions#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.blinkops.com/docs/workflows/building-workflows/actions/utility-actions/cli-actions#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Actions\",\"item\":\"https://docs.blinkops.com/docs/workflows/building-workflows/steps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"CLI Actions\",\"item\":\"https://docs.blinkops.com/docs/workflows/building-workflows/actions/utility-actions/cli-actions\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.blinkops.com/docs/workflows/building-workflows/actions/utility-actions/cli-actions#article\",\"headline\":\"CLI Actions\",\"name\":\"CLI Actions\",\"description\":\"CLI Actions enable you to run CLI scripts against external service providers such as AWS, GCP, Kubernetes, Azure, Terraform, Git, and many more.\",\"url\":\"https://docs.blinkops.com/docs/workflows/building-workflows/actions/utility-actions/cli-actions\",\"mainEntityOfPage\":{\"@id\":\"https://docs.blinkops.com/docs/workflows/building-workflows/actions/utility-actions/cli-actions#webpage\"},\"dateModified\":\"2026-01-28T13:57:05.495Z\",\"publisher\":{\"@id\":\"https://docs.blinkops.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.blinkops.com#website\"}}]}\u003c/script>","agentPointerHref":"/docs/workflows/building-workflows/actions/utility-actions/cli-actions.md","siteName":"BlinkOps Documentation","nav":{"global":null,"tabs":[{"tab":"Home","pages":[{"title":"Home","href":"/home"}]},{"tab":"Getting Started","pages":[{"title":"Getting Started","href":"/docs/getting-started/introduction"}]},{"tab":"Agents","pages":[{"title":"Agents","href":"/docs/agent-builder/agent-builder"}]},{"tab":"Workflows","groups":[{"group":"Workflow Basics","pages":[{"title":"About Workflows","href":"/docs/workflows/workflows"},{"title":"Creating a New Workflow","href":"/docs/workflows/creating-a-workflow"},{"title":"The Workflow Editor","href":"/docs/workflows/building-workflows/workflow-editor"},{"title":"Testing a Workflow","sidebarTitle":"Testing Workflows","href":"/docs/workflows/testing-workflows/testing-workflows"},{"title":"Running Workflows","href":"/docs/workflows/running-workflows/running-workflows"},{"title":"Workflows Runtime Limitations","href":"/docs/workflows/system-limits"}]},{"group":"Triggers","pages":[{"title":"About Workflow Triggers","href":"/docs/workflows/building-workflows/triggers/triggers"},{"title":"Configuring Triggers","href":"/docs/workflows/building-workflows/triggers/configuring-triggers"},{"group":"On-Demand Triggers","pages":[{"title":"Using On-Demand Triggers","href":"/docs/workflows/building-workflows/triggers/on-demand-triggers/on-demand-triggers"},{"title":"Input Parameters","href":"/docs/workflows/building-workflows/triggers/on-demand-triggers/input-parameters"}]},{"group":"Event-Based Triggers","pages":[{"title":"Using Event-Based Triggers","href":"/docs/workflows/building-workflows/triggers/event-based-triggers/event-based-triggers"},{"title":"Using Webhooks","href":"/docs/workflows/building-workflows/triggers/event-based-triggers/webhooks"}]},{"group":"Scheduled Triggers","pages":[{"title":"Using Scheduled Triggers","href":"/docs/workflows/building-workflows/triggers/scheduled-triggers"}]}]},{"group":"Actions","pages":[{"title":"About Steps","href":"/docs/workflows/building-workflows/steps"},{"title":"About Actions","href":"/docs/workflows/building-workflows/actions/actions"},{"group":"Basic Actions","pages":[{"title":"API Actions","href":"/docs/workflows/building-workflows/actions/basic-actions/api-actions"},{"title":"Flow Control Actions","href":"/docs/workflows/building-workflows/actions/basic-actions/flow-control-actions"},{"title":"Subflow Actions","href":"/docs/workflows/building-workflows/actions/basic-actions/subflow-actions"},{"group":"HTTP Actions","pages":[{"title":"Authentication","href":"/docs/workflows/building-workflows/actions/basic-actions/authentication"},{"title":"HTTP Actions","href":"/docs/workflows/building-workflows/actions/basic-actions/http-actions/http-actions"},{"title":"Generate Callback URL Action","sidebarTitle":"Generate Callback URL Action","href":"/docs/workflows/building-workflows/actions/basic-actions/http-actions/generate-callback-url"},{"title":"Copy-Paste curl Commands","href":"/docs/workflows/building-workflows/actions/basic-actions/http-actions/copy-paste-curl"}]},{"group":"Code Actions","pages":[{"title":"Code Actions","href":"/docs/workflows/building-workflows/actions/basic-actions/code-actions"}]}]},{"group":"Interactive Actions","pages":[{"title":"Interactive Actions","href":"/docs/workflows/building-workflows/actions/advanced-actions/interactive-actions/interactive-actions"},{"title":"Slack Interactivity","href":"/docs/workflows/building-workflows/actions/advanced-actions/interactive-actions/slack-interactivity"},{"title":"Microsoft Teams Interactivity","href":"/docs/workflows/building-workflows/actions/advanced-actions/interactive-actions/mst-interactivity"},{"title":"Google Chat Interactivity","href":"/docs/workflows/building-workflows/actions/advanced-actions/interactive-actions/google-chat-interactivity"},{"title":"Email Actions","href":"/docs/workflows/building-workflows/actions/advanced-actions/email-actions"},{"group":"Ask a Question","pages":[{"title":"Ask a Question","href":"/docs/workflows/building-workflows/actions/advanced-actions/interactive-actions/ask-a-question/ask-a-question"},{"title":"Ask a Question via Slack","href":"/docs/workflows/building-workflows/actions/advanced-actions/interactive-actions/ask-a-question/ask-a-question-slack"},{"title":"Ask a Question via Email","href":"/docs/workflows/building-workflows/actions/advanced-actions/interactive-actions/ask-a-question/ask-a-question-email"},{"title":"Ask a Question via Google Chat","href":"/docs/workflows/building-workflows/actions/advanced-actions/interactive-actions/ask-a-question/ask-a-question-google"},{"title":"Ask a Question via Microsoft Teams","href":"/docs/workflows/building-workflows/actions/advanced-actions/interactive-actions/ask-a-question/ask-a-question-teams"},{"title":"Ask a Question via Zoom","href":"/docs/workflows/building-workflows/actions/advanced-actions/interactive-actions/ask-a-question/ask-a-question-via-zoom"}]}]},{"group":"Utility Actions","pages":[{"title":"Array Utilities","href":"/docs/workflows/building-workflows/actions/utility-actions/array-utilities"},{"title":"Cryptographic Utilities","href":"/docs/workflows/building-workflows/actions/utility-actions/cryptographic-utilities"},{"title":"Data Conversions Utilities","href":"/docs/workflows/building-workflows/actions/utility-actions/data_conversions-utilities"},{"title":"Extraction Utilities","href":"/docs/workflows/building-workflows/actions/utility-actions/data_extraction-utilities"},{"title":"Date-Time Utilities","href":"/docs/workflows/building-workflows/actions/utility-actions/date_time-utilities"},{"title":"File Actions","href":"/docs/workflows/building-workflows/actions/utility-actions/file_system-utilities"},{"title":"JSON Utilities","href":"/docs/workflows/building-workflows/actions/utility-actions/json-utilities"},{"title":"Miscellaneous Utilities","href":"/docs/workflows/building-workflows/actions/utility-actions/miscellaneous-utilities"},{"title":"Network Utilities","href":"/docs/workflows/building-workflows/actions/utility-actions/network-utilities"},{"title":"SMB Utilities","href":"/docs/workflows/building-workflows/actions/utility-actions/smb-utilities"},{"title":"String Utilities","description":"Utility actions for formatting, parsing, and transforming string data in Blink workflows.","href":"/docs/workflows/building-workflows/actions/utility-actions/string-utilities"}]},{"group":"Advanced Actions","pages":[{"group":"Database Actions","pages":[{"title":"CLI Actions","href":"/docs/workflows/building-workflows/actions/utility-actions/cli-actions"},{"title":"Run Database Actions","description":"Run Database Actions allow you to perform SQL statements against remote databases.","href":"/docs/workflows/building-workflows/actions/advanced-actions/database-actions/db-actions"},{"title":"LDAP Actions","href":"/docs/workflows/building-workflows/actions/advanced-actions/database-actions/ldap-actions"},{"title":"Steampipe Report Actions","href":"/docs/workflows/building-workflows/actions/advanced-actions/database-actions/steampipe-report-actions"},{"title":"Run Container Actions","href":"/docs/workflows/building-workflows/actions/advanced-actions/database-actions/run-container-actions"},{"title":"Run SSH Action","href":"/docs/workflows/building-workflows/actions/advanced-actions/database-actions/run-ssh-action"}]},{"group":"Custom Actions","pages":[{"title":"Custom Actions","href":"/docs/workflows/building-workflows/actions/custom-actions"}]},{"group":"Query Actions","pages":[{"title":"Run Cloud Query Actions","href":"/docs/workflows/building-workflows/actions/advanced-actions/query-actions"}]}]}]},{"group":"Builder Copilot","pages":[{"title":"About Builder Copilot","href":"/docs/builder-copilot/builder-copilot"},{"title":"Step Output Transformation","href":"/docs/builder-copilot/transform-data-output"},{"title":"Builder Copilot Limitations","href":"/docs/builder-copilot/limitations"}]},{"group":"Connections","pages":[{"title":"About Connections","href":"/docs/workflows/building-workflows/connections/connections"},{"title":"Creating a New Connection","href":"/docs/workflows/building-workflows/connections/creating-connection"},{"title":"Sharing a Connection","href":"/docs/workflows/building-workflows/connections/sharing-connection"},{"title":"Dynamic Connections","href":"/docs/workflows/building-workflows/connections/dynamic-connection"},{"title":"Connecting to an On-Premises App","href":"/docs/workflows/building-workflows/connections/connecting-on-premises"}]},{"group":"Variables","pages":[{"group":"Variables Types","pages":[{"title":"Dynamic Variables","href":"/docs/workflows/building-workflows/dynamic-variables/variable-picker"},{"title":"Global Variables","href":"/docs/workflows/building-workflows/dynamic-variables/global-variables"}]},{"group":"Expression Language","pages":[{"title":"Dynamic Variable Syntax","href":"/docs/workflows/building-workflows/dynamic-variables/expression-language/workflow-engine-variables"},{"title":"Functions","href":"/docs/workflows/building-workflows/dynamic-variables/expression-language/workflow-engine-functions"},{"title":"Operators and Literals","href":"/docs/workflows/building-workflows/dynamic-variables/expression-language/workflow-engine-operators"}]}]},{"group":"Files","pages":[{"title":"Using Files in Workflows","href":"/docs/workflows/building-workflows/files"}]},{"group":"Templates","pages":[{"title":"About Templates","href":"/docs/workflows/templates/templates"},{"title":"Using Workflow Templates as an Existing Blink User","href":"/docs/workflows/templates/using-template"}]},{"group":"Publishing Workflows","pages":[{"title":"About Approving and Publishing Workflows","href":"/docs/workflows/managing-workflows/publish-approval/publish-approval"},{"title":"Controlling the Availability of a Published Workflow","href":"/docs/workflows/managing-workflows/draft-published"},{"title":"Publish Approval as the Builder","href":"/docs/workflows/managing-workflows/publish-approval/publish-approval-builder"},{"title":"Publish Approval as the Workspace Owner","href":"/docs/workflows/managing-workflows/publish-approval/publish-approval-owner"}]},{"group":"Error Handling and Debugging","pages":[{"title":"About Error Handling","href":"/docs/workflows/building-workflows/error-handling/error-handling"},{"title":"Workflow YAML","href":"/docs/workflows/building-workflows/workflow-yaml"},{"title":"Action Error References","href":"/docs/workflows/building-workflows/error-handling/error"},{"title":"Run Workflow on Workflow Failure","href":"/docs/workflows/building-workflows/error-handling/run-error"},{"title":"Workflow Run Logs","href":"/docs/workflows/debugging-workflows/workflow-run-logs"}]},{"group":"Workflow Management","pages":[{"title":"The Workflow Overview Page","href":"/docs/workflows/managing-workflows/workflow-overview-page"},{"title":"Move or Copy Workflows Between Workspaces","href":"/docs/workflows/workflow-packs/pack-options/move-or-copy-workflows"},{"title":"Monitoring Workflows Health","href":"/docs/workflows/monitoring-workflows-health"},{"title":"Workflow Version History","href":"/docs/workflows/managing-workflows/workflow-version-history"}]},{"group":"Packs","pages":[{"title":"About Workflow Packs","href":"/docs/workflows/workflow-packs/workflow-packs"},{"title":"Pack Options","href":"/docs/workflows/workflow-packs/pack-options/pack-options"},{"title":"Pack Management","href":"/docs/workflows/workflow-packs/pack-management"},{"title":"Sharing Packs","href":"/docs/workflows/workflow-packs/pack-options/sharing-packs"},{"title":"Move or Copy Packs Between Workspaces","href":"/docs/workflows/workflow-packs/pack-options/copy-moving-packs"},{"title":"Deploy Pack to Workspace(s)","href":"/docs/workflows/workflow-packs/pack-options/deploy-pack"}]}]},{"tab":"Platform","pages":[{"title":"Platform","href":"/docs/blink-platform/blink-platform"}]},{"tab":"Integrations","pages":[{"title":"Integrations","href":"/docs/integrations/integrations"}]},{"tab":"Case Management","pages":[{"title":"Case Management","href":"/docs/case-management/case-management"}]}]},"basePath":"","title":"CLI Actions - BlinkOps Documentation","buildId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","deploymentId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","dynamics":["07c022d89b","a74be98ba7"],"chunks":["Frame-u3J1-UOn.js","DynamicMarkdown-B-f2cqXQ.js","zoom-image-lightbox-DTFzvaXJ.js","lightbox-handle-r17bVUz3.js"]}