← All guides Guide

How to sign a Tauri app on Windows

Updated November 18, 2026. Leer en español, Ler em português, Türkçe oku

Add the CLI as a dev dependency with npm install --save-dev github:bamboodeploy/cli#v1.2.0, then set bundle.windows.signCommand in src-tauri/tauri.conf.json to node ../node_modules/@bamboodeploy/cli/bin/bamboo.js sign %1. Tauri runs it for every Windows binary it produces, so tauri build ends with signed files.

1. Install the CLI and set your API key

npm install --save-dev github:bamboodeploy/cli#v1.2.0

Create a key in the dashboard under API Keys. It starts with bd_live_. Save it for your Windows user, then open a new terminal so it sees the new variable:

setx BAMBOO_API_KEY bd_live_...

A .bamboorc file in your user folder with the line BAMBOO_API_KEY=bd_live_... works too.

2. Set signCommand

{
  "bundle": {
    "windows": {
      "signCommand": "node ../node_modules/@bamboodeploy/cli/bin/bamboo.js sign %1"
    }
  }
}

Two details matter here:

Tauri replaces %1 with each file it signs: the app exe, the uninstaller and every installer you bundle, NSIS or MSI. Each one is a separate upload and signature.

3. Build

npm run tauri build

The signed installers are in src-tauri\target\release\bundle\nsis and src-tauri\target\release\bundle\msi.

No npm in the project?

Install the .NET tool (dotnet tool install -g BambooDeploy.Sign) or the Python package (pip install bamboodeploy). Both put a real bamboo-sign.exe on PATH, which Tauri can start directly:

"signCommand": "bamboo-sign sign %1"

4. In GitHub Actions

- run: npm ci
- uses: tauri-apps/tauri-action@v0
  env:
    GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
    BAMBOO_API_KEY: ${{ secrets.BAMBOO_API_KEY }}

The action runs tauri build, which calls your signCommand with the key from the environment.

The updater key is a different thing

If you use the Tauri updater, keep TAURI_SIGNING_PRIVATE_KEY as it is. That key signs update bundles for the updater to verify; signCommand adds the code signature that Windows checks. You need both.

Smart App Control

On Windows 11 with Smart App Control on, a blocked program has no Run anyway button. Smart App Control lets a file with a valid signature run, and it checks every exe and DLL as it loads, not only the file the user downloaded. With signCommand set, the app exe, the uninstaller and the installers come out signed. If you ship sidecar binaries, check that they are signed too: right-click, Properties, Digital Signatures.

Common errors

Otherwise the sign step fails with one of the CLI's exit codes:

Exit codeMeaningWhat to do
1Bad or missing API key, file not found, or signing denied or failedRead the printed message. Check BAMBOO_API_KEY and the file path.
2Signing needs a Premium planUpgrade in the dashboard.
3Fewer than two verified connectionsVerify your email plus a domain, GitHub or similar under Connections in the dashboard.
4Timed out waiting for the signatureThe build may be waiting for review. Run the same command again once it is approved.

FAQ

Does this work with Tauri 1?

This guide is for Tauri 2. On Tauri 1, run the CLI on the installers in src-tauri\target\release\bundle after the build.

Why does one build create several signatures?

Tauri calls signCommand once per file: the app exe, the uninstaller and each installer. Every call is a separate upload and signature.

Whose name does Windows show as the publisher?

Ours. We sign your build with our EV code signing certificate, so Windows shows our verified publisher name instead of Unknown publisher. You need no certificate, company registration or USB token of your own.

Does signing remove the SmartScreen warning at once?

Not on its own. A valid signature replaces Unknown publisher with a verified publisher, and Smart App Control lets a signed file run. SmartScreen also weighs reputation, which builds as people download and run your files, and no certificate grants it instantly, EV included. See EV certificates no longer skip SmartScreen.

What do I need before I can sign?

A Bamboo Deploy account, an API key from the dashboard, a Premium plan and two verified connections: your email plus a domain, GitHub or similar. Uploading and scanning are free.

Bamboo Deploy scans every build and signs it with our EV certificate, so you need no certificate, no company registration and no USB token of your own. Get started, or read the docs.

Other guides