Scan and code-sign Windows binaries (.exe, .msi) from any build pipeline. One command, no certificate, no HSM, no Windows VM.
npx github:bamboodeploy/cli sign dist/myapp.exeUpload, sign with a trusted certificate, download the signed file in place. Works on Windows, macOS, and Linux runners.
Install globally to get the bamboo command: npm install -g github:bamboodeploy/cli. In Windows PowerShell with scripts blocked, use npx.cmd and npm.cmd.
- Create an API key in the Bamboo Deploy dashboard under API Keys.
- Export it as
BAMBOO_API_KEY(or putBAMBOO_API_KEY=bd_live_...in a.bamboorcin your project or home dir).
Signing needs a Premium subscription ($45 per quarter). Scanning is free.
bamboo sign <file>... [--out path] [--timeout 900] # sign, replace in place by default
bamboo scan <file> [--json] [--fail-on-findings] # free: scan report + SmartScreen readiness
bamboo status [app-id] # list uploads, or one app's scan + sign state
bamboo delete <app-id>
bamboo config # show which key and API base are in useSeveral files at once: bamboo sign dist/app.exe "dist/*.dll". Each file is signed, and with --out they go into that folder. Wildcards work in any shell, including PowerShell and cmd. Status checks and downloads retry on network errors.
Exit codes: 0 ok, 1 error, 2 Premium required, 3 publisher verification required, 4 timeout or waiting for review, 5 scan findings (with --fail-on-findings).
{
"scripts": {
"dist": "electron-builder --win && bamboo sign dist/MyApp-Setup.exe"
}
}For electron-builder there is a hook package that signs every Windows artifact automatically: electron-builder-bamboo-sign.
const { signFile, scanFile } = require('@bamboodeploy/cli');
await signFile('dist/app.exe', { out: 'dist/app-signed.exe', log: console.error });
const { report, summary } = await scanFile('dist/app.exe');- GitHub Actions:
bamboodeploy/sign-action@v2 - GitLab, Azure Pipelines, CircleCI, Jenkins, AppVeyor: docs
MIT