Azure SDK for Node Authentication

learn authentication methods for azure sdk for nodejs

Service Principal Authentication

Based on azure-sdk-for-node/Documentation/Authentication.md

  1. clientId, secret, and domain are defined in .env. Copy .env.sample to .env and populate with values via the following steps.

  2. getting clientId and domain

    run az ad sp list

  3. getting / creating secret

    navigate to Portal | Azure Active Directory | App registrations create new client secret if needed OR use existing