logo

Database

Azure Ai Translator Api Key

Description

The source code repository contains sensitive information: Azure AI Translator API Key

Weakness:

009 - Sensitive information in source code

Category: Information Collection

Detection Strategy

    • Matches Azure AI Translator API Key patterns in source code and configuration files

Vulnerable code example

AZURE_TRANSLATOR_KEY=eApBp1IU5EDhWewkTCFG08w2SR8mtDssm582XztzbhDzOIg0ADxwJQQJ996L7l4YZr3KCcGkAAAbACOGr1vY
client = TextTranslationClient(credential=AzureKeyCredential("whykjPRlTHggR4ZLeTdWf8DngqRqeUkknipeahy5ZIk5qGIzo3gvJQQJ99SErbfTGw0Omm3zAAAbACOGIw6L"), region="westeurope")
headers = {'Ocp-Apim-Subscription-Key': 'ZzQehsr7nI2H3RUis1xVN8H7ZR7PBYRIUH3G3BYc6iyqYPAfD11tJQQJ99rEfcH71V8GVSYaAAAbACOGIGOH'}
key1: vNitZvFZUUjOZcWOcx7mKiPwJm6EGKe2ZB7HtBum2kmVzqEgC0PbJQQJ99DJbfxz1a6s8PjlAAAbACOG8ptUAb==