Every version of a Matter app is cryptographically signed (see Trust & Security). You sign deployments with an Ed25519 key stored on your computer. Your workspace stores the public half, and the key represents you as the publisher: every version signed with it is attributed to you, and teammates trust you as a publisher rather than individual versions.
Making a Key#
matter keys create
This command prompts for an optional passphrase, generates the key pair in
~/.matter/keys (readable only by your OS user), and registers the public key across your
workspaces. Your first key becomes your default key automatically. Pass --name "CI" to give a
key a custom label; otherwise it defaults to your computer's name alongside your member name.
-
If you set a passphrase, Matter prompts for it on each deploy and never caches the unlocked key in memory.
In non-interactive scripts, supply
MATTER_SIGNING_KEY_PASSPHRASE. -
Agents inside Matter run
mattercommands as you—so an agent can deploy autonomously if your key has no passphrase. Set a passphrase if you want every deploy to require your manual approval.
matter keys list # view your keys (* marks default) and where each is registered
matter keys default <key> # set the default key by name or fingerprintWhich Key a Deploy Uses#
matter app deploy selects a signing key in this order:
- The key passed to
--key <key> - The key in the
MATTER_SIGNING_KEYenvironment variable -
The key named by
"signingKey"inmatter.json(useful when a team always signs a project with a shared key) - Your default key
Deploying with a key automatically registers its public key in the app's workspace if it isn't registered there yet.
Sharing a Key with Your Team#
When multiple teammates maintain an app together, you can either each sign with your own personal key (so
teammates trust each publisher once), or share a single key so every release is signed by the same
publisher. When Ana deploys using Sam's shared key, Versions shows both names:
Sam (deployed by Ana).
matter keys export --private > sales-team-key.jsonShare the exported file through your team's secret manager, and have each teammate import it:
matter keys import sales-team-key.jsonIn CI#
Store the output of matter keys export --private as a CI secret named
MATTER_SIGNING_KEY (along with MATTER_SIGNING_KEY_PASSPHRASE if the key is
passphrase-protected). matter app deploy will sign the release directly from the environment
variable without writing the key to disk.
Revoking a Key#
matter keys revoke <key>
Revoking a key marks it revoked across your workspaces and moves the local file to
~/.matter/keys/revoked. Every app version signed with that key stops immediately on every
member's computer—so redeploy your apps with a new key right away. If you redeploy with another key of your
own, members who already trusted you won't be prompted again.
You can revoke any key you registered even if the file was on a lost laptop—just pass its name or
fingerprint from matter keys list. Workspace admins can revoke any member's key.
When Someone Leaves#
A signing key is valid only while its owner is a member of the workspace. If a member leaves the workspace, the server rejects new deploys signed with their keys and stops any running versions they signed—ensuring a shared copy of their key cannot continue publishing under their name. Redeploy those apps with your own key to keep them running.
What Matter Checks#
Every signature covers the app ID, the SHA-256 hash of the deployment zip archive, and the parsed manifest. The Matter server verifies the signature against the workspace's registered public keys on upload, and every member's Matter desktop app independently verifies the key fingerprint, signature, and archive SHA-256 hash on their own computer before running any page, worker, tool, or routine.