code for article pfeilbr/azure-sdk-for-node-authentication-playground
learn authentication methods for azure sdk for nodejs
Service Principal Authentication
clientId
,secret
, anddomain
are defined in.env
. Copy.env.sample
to.env
and populate with values via the following steps.getting
clientId
anddomain
run
az ad sp list
getting / creating secret
navigate to Portal | Azure Active Directory | App registrations create new client secret if needed OR use existing
Twitter • Reddit