Azure Subscription Key

Description

General

  • Documentation: https://docs.microsoft.com/en-us/azure/

  • Summary: Azure is a cloud computing service created by Microsoft.
    Multiple APIs are available through Azure (Bing search, translation, speech recognition, etc), they all use the same authentication method, a token passed in a header named Ocp-Apim-Subscription-Key.

  • IPs allowlist: See API Management policies.

  • Scopes: Keys are specific to an API.

Revoke the secret

You can rotate keys from Azure portal, PowerShell and Azure CLI, see Manually rotate access keys.

Check for suspicious activity

Azure gives access to detailed logs, see Azure platform logs.

Details for Azure subscription key

  • Category: Cloud Provider

  • Company: Microsoft

  • High Recall: False

  • Validity Check: False

  • Minimum Number of Matches: 1

  • Occurrences found for one million commits: 50.24

  • Prefixed: False

  • PreValidators:

- type: FilenameBanlistPreValidator
banlist_extensions:
- css
- html
- lock
- md
- storyboard
- xib
banlist_filenames: []
check_binaries: false
- type: ContentWhitelistPreValidator
patterns:
- subscription[-_]?key
- type: ContentWhitelistPreValidator
patterns:
- \bbing\b
- microsoft
- azure

Examples

- text: |
"baseuri": "https://api.bing.microsoft.com/v7.0/search",
"headers": { "Ocp-Apim-Subscription-Key": "bf7ceb0247494d5ea601f15dc63bcaff" },
apikey: "bf7ceb0247494d5ea601f15dc63bcaff"
- text: |
`https://api.bing.microsoft.com/v7.0/Suggestions?q=` + value,
headers: { "Ocp-Apim-Subscription-Key": "775986a0c92a44b996051a3d62f337ff" }
apikey: "775986a0c92a44b996051a3d62f337ff"
- text: |
$GLOBALS["subscription_key"] = "66eae5acb8594216b5f07768540e93ff";
$request = new Http_Request2('https://api.bing.microsoft.com/v7.0/search');
apikey: "66eae5acb8594216b5f07768540e93ff"