A Rootly API key gives a program access to Rootly, the incident management platform. Through the API, a key can read and change incidents, on-call schedules, status updates and post-incident reviews. Those records often describe your infrastructure in detail, including service names, failure modes and the people who respond to them, which makes them useful to an attacker even when no money is involved. A key can also change the on-call setup, so a leak can affect how quickly your team hears about the next outage. Revoke the key first, then review what changed.
Check your GitHub account for leaked secrets — free
- Provider
- Rootly
- Severity
- High
- Impact
- SaaS account access and billing
- Checked live by LeakWatch
- No
What a Rootly API key looks like
Rootly keys begin with the word rootly_, followed by a long run of lower-case hexadecimal characters, which makes them easy to spot in a search. The key is created in the organization settings and is shown once, when it is generated:
rootly_… (API key, masked)
Rootly also states that every key has an expiry date, and that names must be unique within the kind of key and its scope. An expiry date is a useful safety measure, but it does not replace revocation, because a key remains valid until its date passes or until it is deleted. Keys that serve a team or the whole organization are linked to a service account, so deleting them also removes that account.
How Rootly API keys get leaked
- Automation scripts. A script that opens or updates incidents, with the key typed into the source code and then committed.
- Chat integrations. A bot configuration exported from a chat tool, where the key is stored in plain text in a file that is shared.
- Shared examples. A snippet pasted into a ticket, a wiki or a post-incident document to show how to call the API.
- CI logs. A deployment step that announces a release or an incident, printing its request and headers.
- Dotfiles and backups. A home folder or a configuration backup that holds a file with the key inside.
What to do in the first hour
- Revoke the key. Open the Rootly organization settings, go to the API keys section, find the key and delete it. Rootly describes revocation as immediate and irreversible. Do this before you clean the repository, and note that deleting a team or organization key also deletes its linked service account, so check which integrations depend on it first.
- Create a replacement under the narrowest scope your integration needs, and store it in a secret manager or an environment variable. Update the integration and confirm it can still open a test incident or read one.
- Review the incidents. Look at the incidents, status updates and post-incident notes created or changed since the key may have been exposed. Look for entries you did not write and for changes to severity or assignees.
- Check the on-call schedules and alerts. Review the schedules, escalation paths and notification rules. An attacker who changes who gets paged can hide an outage, so this step matters.
- Check the other secrets in the same file. Incident tooling is usually connected to chat, monitoring and paging services, so rotate any keys stored next to the Rootly key.
- Clean the repository after the rotation: remove the value from the files, add the file to
.gitignoreand decide whether to rewrite history. The order of steps is in I accidentally pushed an API key to GitHub.
Not sure what else leaked? Run a free scan.
Revoke it at Rootly
Open the account settings for your Rootly organization and go to the API keys area, which sits under the organization settings. Delete the leaked key there and create a new one. Rootly’s API reference also documents a delete request for an API key by its identifier, which suits a rotation run from a script. The API reference is on docs.rootly.com, and it states that revocation takes effect immediately. We did not confirm the current dashboard labels during this review, so check the menu when you act.
How LeakWatch detects it
The rule is called Rootly API Key. It looks for the fixed rootly_ prefix followed by exactly 64 lower-case hexadecimal characters, then a delimiter such as a quote, a space, a semicolon, an escaped line break or the end of the line. A value with a shorter body, such as an identifier in a log, is not reported. The severity is high, with the impact class for SaaS services. This type is not checked live: LeakWatch does not send the key to Rootly.
LeakWatch detects this format but does not check it live: it can tell you the key is exposed, not whether it still works. Assume it does until you have revoked it.
FAQ
Will revoking the key stop my incident alerts?
Only if the alerts depend on that key. Alerts that go through a Rootly integration with its own credential keep working. Check which integrations use the key before you delete it, and move them to the replacement first where you can.
Can a key expire on its own?
Rootly sets an expiry date on keys, but a key remains valid until that date. Do not wait for the expiry if the key has leaked, because the window can be long. Delete it now.
What should I look for in the incident history?
Look for incidents you did not open, status updates that do not match what your team posted, and changes to on-call schedules. Anything that hides or delays an alert needs a close look.