Akamai API Token

ID

akamai_token

Severity

high

Vendor

Akamai

Family

API Token

Description

Akamai is a content delivery network, cybersecurity, and cloud service company, providing web and Internet security services. Its APIs enable to manage its services.

Security

Any hardcoded Akamai API Key is a potential secret reported by this detector.

Accidentally checking-in the key to source control repositories could compromise your Akamai account.

Examples

token=akab-rWdcIIASNbe9fcGk-16uUNcOueticOXxA

Mitigation / Fix

  1. Follow your policy for handling leaked secrets, which typically require revoking the secret in the target system(s). Go to your dashboard to revoke the API Key.

  2. Remove the secret from the source code or committed configuration file. Replace hard-coded secrets with a more secure alternative, such as one of the options documented in How to Prevent Hard-Coded Secrets.

  3. (Optional) If under a git repository, you may remove unwanted files from the repository history using tools like git filter-repo or BFG Repo-Cleaner. You may follow the procedure listed here for GitHub.

You should consider any sensitive data in commits with secrets as compromised.

Remember that secrets may be removed from history in your projects, but not in other users' cloned or forked repositories.