Microsoft Cognitive Services · Authentication Profile

Microsoft Cognitive Services Authentication

Authentication

Microsoft Cognitive Services secures its APIs with apiKey and oauth2 across 2 declared security schemes, as derived from its OpenAPI definitions. OAuth 2.0 is offered via the clientCredentials flow(s).

Azure AIComputer VisionSpeechNLPOpenAIMachine Learning
Methods: apiKey, oauth2 Schemes: 2 OAuth flows: clientCredentials API key in: header

Security Schemes

subscription_key apiKey
· in: header (Ocp-Apim-Subscription-Key)
azure_auth oauth2
· flows: clientCredentials

Source

Authentication Profile

microsoft-cognitive-services-authentication.yml Raw ↑
generated: '2026-07-11'
method: derived
source: openapi/microsoft-cognitive-services-openapi.yml
summary:
  types:
  - apiKey
  - oauth2
  api_key_in:
  - header
  oauth2_flows:
  - clientCredentials
schemes:
- name: subscription_key
  type: apiKey
  in: header
  parameter: Ocp-Apim-Subscription-Key
  description: Cognitive Services subscription key
  sources:
  - openapi/microsoft-cognitive-services-openapi.yml
- name: azure_auth
  type: oauth2
  flows:
  - flow: clientCredentials
    tokenUrl: https://login.microsoftonline.com/common/oauth2/v2.0/token
    scopes: 1
  description: Microsoft Entra ID OAuth 2.0
  sources:
  - openapi/microsoft-cognitive-services-openapi.yml