Azure SDK for Node Authentication
Written in 2019. Tools, APIs and prices may have changed since.
Lab note What I wrote down while learning this by building with it. Short by design; the code is in pfeilbr/azure-sdk-for-node-authentication-playground.
learn authentication methods for azure sdk for nodejs
Service Principal Authentication
clientId,secret, anddomainare defined in.env. Copy.env.sampleto.envand populate with values via the following steps.getting
clientIdanddomainrun
az ad sp list
getting / creating secret
navigate to Portal | Azure Active Directory | App registrations create new client secret if needed OR use existing
