A JumpCloud API key authenticates calls to the JumpCloud directory API as the administrator who generated it. That is identity infrastructure: with the key someone can list users and devices, create or modify user accounts, change group memberships, reset or alter access to applications, and manage commands run on enrolled machines. The main danger is account takeover and persistence through new users, not only data reading. Generate a new key first, which invalidates the old one, then review the directory.
Check your GitHub account for leaked secrets — free
- Provider
- JumpCloud
- Severity
- High
- Impact
- Cloud infrastructure access
- Checked live by LeakWatch
- No
What a JumpCloud API key looks like
XXXXXXXXXXXXXXXX… JumpCloud API key (40 letters and digits)
A JumpCloud API key is 40 alphanumeric characters with no prefix. It is displayed only when it is generated, from the admin portal. It is sent in the x-api-key header of calls to console.jumpcloud.com/api. In code it shows up in variables like JUMPCLOUD_API_KEY, in PowerShell module setup (Connect-JCOnline), in HRIS or directory import scripts, and in infrastructure code using a JumpCloud provider.
Since it is a bare 40-character string, it cannot be told apart from many other tokens or hashes by form alone. The surrounding text, such as the variable name or the x-api-key header, is what identifies it. Note also that an organization can have API access tied to individual administrators, so the key inherits that administrator’s rights.
How JumpCloud API keys get leaked
- PowerShell and automation scripts. A key inline in a script that adds users, syncs groups or runs commands.
- Committed environment files.
JUMPCLOUD_API_KEYin a.envfile or a Docker compose file for an integration. - Identity glue code. HR imports, onboarding bots and Slack apps that call the API with the key in source.
- Infrastructure code. Terraform or Ansible variables with the key inline.
- Support pastes. A command or a request pasted into a ticket, a forum or a chat with the header filled in.
What to do in the first hour
- Generate a new key. In the admin portal, open the API key page of your account (see the link below) and generate a new one. JumpCloud states that generating a new key revokes the current one, so every call using the old key stops working immediately.
- Deploy the new key to the scripts and integrations that need it, and check that the sync jobs run again. Consider giving automation its own administrator with limited rights.
- Review the directory. Look for users created or changed since the exposure, new administrators, changed group memberships and altered application assignments.
- Audit the activity. Use Directory Insights to query events from the exposure period: logins, administrator actions and changes to users, devices and commands.
- Check commands and policies. The key can create or run commands on enrolled devices. Remove commands, policies or scripts you do not recognize, and look at the devices that ran them.
- Reset exposed credentials. For any user whose password or MFA was changed, reset it and review recovery options.
- Clean up the code. See I accidentally pushed an API key to GitHub.
Not sure what else leaked from the same repository? Run a free scan.
Revoke it at JumpCloud
JumpCloud has no separate revoke button: the documented way to cancel a key is to generate a new one, which replaces it. Sign in to the JumpCloud admin portal, open the menu with your account initials at the top right and choose the entry for your API key. The JumpCloud support articles on its APIs and on API key rotation describe this. A person has not confirmed the exact menu wording for this guide, and the interface can change, so look for the section where your API key and its expiration are shown. API access can be disabled for administrators, so an administrator without it will not see the key.
How LeakWatch detects it
The rule is called JumpCloud API Key. It looks for the word jumpcloud, in any letter case, followed within 40 characters of any kind by a standalone value of exactly 40 letters and digits. The separator is not required, so the key can follow the word directly, as in a comment or a URL. A string of 39 or 41 characters, or with no jumpcloud word before it, is not reported. Because a 40-character alphanumeric value is common, a hash placed close to the word can raise a false alert. The severity is high. This type is not checked live: LeakWatch does not send any request to JumpCloud with the key it found.
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
Does generating a new key really cancel the old one?
Yes, JumpCloud documents that generating a new API key revokes access for the current one. Integrations using the old key then fail until updated.
Does the key have an expiration date?
Newer keys can be given an expiration, but older ones may have none. Do not rely on expiry: replace the leaked key now.
Can the key reach my users' passwords?
It can change or reset user accounts, which is as serious. Review users, groups and MFA settings for changes made since the exposure.