A Cisco Meraki Dashboard API key acts as the dashboard administrator who generated it. According to Meraki documentation, such a key can access every organization the administrator has access to, and it does not expire. With read-write rights, an attacker can change firewall rules, VPN and wireless settings, read client and network inventory, and alter switch ports. Network configuration is the main danger: a changed rule can open your network or cut it off. Revoke the key first, then review the change log.
Check your GitHub account for leaked secrets — free
- Provider
- Cisco Meraki
- Severity
- High
- Impact
- Cloud infrastructure access
- Checked live by LeakWatch
- No
What a Cisco Meraki API key looks like
XXXXXXXXXXXXXXXX… Meraki Dashboard API key (40 hexadecimal characters)
The key is 40 hexadecimal characters with no prefix, and is displayed only once, when generated, from the profile of a dashboard administrator. It is sent in the X-Cisco-Meraki-API-Key header (or as a bearer token) to the Dashboard API. In code you will see it in variables such as MERAKI_DASHBOARD_API_KEY or meraki_api_key, in scripts using the Meraki Python library or Terraform provider, and in monitoring tools that poll the dashboard.
Because it is plain hexadecimal, the string alone tells you nothing; a 40-character hex string can be a Git commit hash. What identifies it is the context: the meraki variable name or the header.
How Cisco Meraki API keys get leaked
- Automation scripts. Inventory or reporting scripts with the key written in the source and then pushed.
- Infrastructure as code. Terraform provider blocks or Ansible variables with the key inline.
- Committed environment files. A
.envfile withMERAKI_DASHBOARD_API_KEYfor a monitoring or ticketing integration. - Monitoring and chatbot integrations. Open-source projects that ask for the key in a configuration file, which then gets committed.
- Shared snippets. An example request pasted into a forum or an issue with the header filled in.
What to do in the first hour
- Revoke the key. Sign in as the administrator who owns it, open the API access section of the profile (see the link below) and revoke it. Revoking removes the key’s access to all the organizations that administrator belongs to. A profile holds at most two keys, so revoke the exposed one before generating another.
- Generate a new key if the integration still needs one, preferably from a dedicated administrator with limited rights, and update the integration.
- Review the change log. The dashboard keeps a change log per organization. Look at the entries since the exposure for changes made through the API: firewall and VPN rules, SSID settings, admin accounts, port changes.
- Check administrators. Look for new administrators or changed permissions, and for new API integrations or webhook receivers.
- Check network settings. Verify firewall rules, port forwarding, site-to-site VPN peers and alert destinations against your expected configuration.
- Consider data exposure. The key can read client lists and network inventory; evaluate what that reveals.
- 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 Cisco Meraki
The Meraki documentation says keys can be generated and revoked from the API and Webhooks page of the dashboard or from My Profile, reached through the avatar icon at the top right. Sign in from the Meraki dashboard as the administrator who owns the key; other administrators cannot see or revoke it. The article is called “Cisco Meraki Dashboard API” in the Meraki documentation. Administrators who sign in through SAML cannot view or generate keys, according to the same article. A person has not confirmed the exact menu wording for this guide, and the interface can change, so look for the section where API keys are listed.
How LeakWatch detects it
The rule is called Cisco Meraki API Key. It requires the word meraki, written exactly as meraki, Meraki or MERAKI, followed within about 20 characters by a separator such as = or :, then a value of exactly 40 lowercase hexadecimal characters. A mixed-case spelling like MeRaKi, a value in uppercase hex or of another length, or a 40-character hex string with no Meraki context is not reported. The severity is high. This type is not checked live: LeakWatch does not send any request to Meraki 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 the key expire?
No. Meraki documentation states that keys do not expire, so a leaked key stays usable until you revoke it.
Which organizations can the key reach?
Every organization the owning administrator has access to. That is why revoking is also a way to cut that access entirely.
Is a 40-character hex string in my repository always a Meraki key?
No. It could be a Git hash or another token. Look at the variable name and where it is used before concluding.