A Render API key lets whoever holds it call the Render API as your account. Depending on how the key was scoped, that can mean listing and changing services, triggering deploys and reading environment variables. Environment variables are the real prize, because they usually hold database passwords and third-party keys. Revoke the Render key first, then check the services it could reach, and rotate the secrets those services use.
Check your GitHub account for leaked secrets — free
- Provider
- Render
- Severity
- Critical
- Impact
- Cloud infrastructure access
- Checked live by LeakWatch
- No
What a Render API key looks like
Render API keys start with rnd_, followed by a fixed-length run of letters and digits:
rnd_…XXXX Render API key (masked)
The prefix is distinctive, so a value starting with rnd_ is a strong candidate wherever it appears. Keys are used as a bearer token in the Authorization header of API calls, and many people put them in a RENDER_API_KEY variable for a deploy script or an infrastructure tool. That convenience is exactly how the key ends up in files that get shared.
How Render API keys get leaked
- Deploy scripts committed to a repository. A shell script or CI file that calls the API with the key written inline.
- Infrastructure-as-code tools. A provider block or variables file that holds the key and is committed with the rest of the configuration.
- Shell history and logs. A
curlcommand typed or printed with the header included, saved in a history file or a build log. - Front-end code. A key placed in a client bundle by mistake. Anything shipped to a browser or a mobile app can be read by whoever downloads it.
- Pasted snippets. A command copied into a support request or a blog post to show how to call the API.
What to do in the first hour
- Revoke the key. Open the account settings, find the API keys section, use the delete control beside the key and confirm. Render documents revocation as taking effect immediately, so there is no grace period to plan around. If a deploy depends on the key, replace it first, but only if the exposure is not active.
- Create a replacement with the smallest scope that works, and store it in your CI secret store. Keep one key per job so the next revocation is smaller.
- Review the services. List the services in each workspace the key could reach. Look for deploys you did not trigger, services you did not create and changes to build commands or start commands.
- Read the activity. Check the deploy history and the audit information available in each workspace for the period since the exposure.
- Rotate the environment variables. Any secret that a service reads at runtime should be treated as exposed, since the key could read it. Rotate database passwords, third-party tokens and signing keys, starting with the most sensitive.
- Clean the repository. Remove the key from files and history, and check logs. See I accidentally pushed an API key to GitHub.
Not sure what else leaked? Run a free scan.
Revoke it at Render
Go to the account settings in the Render Dashboard, open the API keys section and delete the key that leaked. Render’s own documentation says deleting a key takes effect at once, and it recommends replacing a key that is still in use before deleting it. Render also documents scoped keys that are limited to one workspace, and older keys that reach every workspace you belong to. Check which kind you have before you assume its reach. The current Render API documentation is at docs.render.com. This guide has not been checked against the live dashboard, so confirm the labels when you open it.
How LeakWatch detects it
The rule is called “Render API Key”. It looks for the prefix rnd_ followed by exactly 28 letters or digits, with a word boundary before the prefix and a clean end after the value. It does not need any surrounding text, which means the prefix alone is enough. The severity is critical. This type is not checked live: LeakWatch does not send the key to Render, so a hit tells you the value is present, not whether it still works.
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
Can a Render key read my database passwords?
It can read what the API exposes for your services, and environment variables are part of that. Assume that any secret stored as an environment variable on an affected service has been seen, and rotate it.
Does revoking the key stop running services?
No. Revoking the key only stops API calls made with it. Running services keep working, but a deploy script or tool that used the key will fail until it gets a new key.
Should I delete the old key or just add a new one?
Delete the old one. Keeping an exposed key active leaves the hole open, even if nothing seems to be using it.