CommonRig docsOpen the app

Docs / Secrets and data / Integrations and keys

Integrations and keys

Some integrations need a key to work, such as the secret a service signs its webhooks with. You enter it once; it is kept encrypted, used only by that integration, and never shown again. CommonRig is not a password manager.

Not a password manager

  • A key goes in only where an integration here needs it to do its job. There is no box for keeping a key just to keep it.
  • Keep your own copy where you keep your keys. Nobody here can show a key again, owners included: you can only replace or delete it.
  • Lost your copy? Make a new key at the service and replace it here. The old one stops at once.
  • If our server key were ever lost, every stored key would need entering again. Your own copy is your backup.
  • Where the integration runs on your own runner, link instead: the key stays in your password manager.

What takes a key

IntegrationWhat the key doesRunsKept as
Sentry webhookChecks Sentry's signature on each delivery. Sentry signs with its own client secret.On our serverThe key, encrypted
Your own webhook signing secretChecks deliveries to a GitHub or JSON webhook with a secret you already use, in place of the one CommonRig made.On our serverThe key, encrypted
Runner environment keyA variable your runner's execute runs need, such as a provider key or a deploy token.On your runnerA link only: never the key

Each sits in one project, on its Settings under Integration keys, or for the workspace owner the workspace itself. Entering, replacing and deleting one in a project takes the right 'Enter, replace and delete integration keys': an owner's or a maintainer's by default, never a viewer's.

How a key is kept

YouCommonRigOutsideservicePastes it oncea password box onSettingsEncrypts itunder yourworkspace's own da...Keeps theciphertextstars and at most ...Service sends awebhooksigned with the keyOpens it to checkthe use is counted onthe keyYouCommonRigOutside servicePastes it oncea password box onSettingsEncrypts itunder yourworkspace's own da...Keeps theciphertextstars and at most ...Service sends awebhooksigned with the keyOpens it to checkthe use is counted onthe key
Your key is encrypted on the way in and opened only when its integration runs
  • Each workspace has its own data key, made the first time a key goes in. It is kept only wrapped by a server key that lives in the server's own settings and nowhere in the workspace's store, backups or exports.
  • Each key is encrypted with AES-256-GCM, bound to its workspace and the exact integration it serves, so a copy moved anywhere else opens nothing.
  • The list shows stars and, on a key of 20 characters or more, its last four. Nothing else of it ever comes back: not to you, an owner, an agent or a tool.
  • Every save, replace and delete is on the workspace's trail, and every use is counted on the key with the last few shown, in fixed words.
  • Replace or delete stops the old key at once, and nothing older comes back in its place: deleting your own webhook signing secret stops the one CommonRig made too, until you rotate for a new one. A deleted or replaced key stays gone after a restore from a backup.

Where a key never goes

Reads itHolds it
The integration it servesyesno
You, an owner, a screennono
An agent or any toolnono
Export and your repo copynono
Searchnono
Backupsnoencrypted only
What can reach a stored key

Checked against the code at e28af69c. Site built from f04f4af1.