Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
function loadAzureCredentialsForIDToken
import { loadAzureCredentialsForIDToken } from "https://deno.land/x/fathym_everything_as_code@v0.1.73/src/azure/loadAzureCloudCredentials.ts";

Load Azure credentials from the provided client secret and tenant ID.

Parameters

idToken: string

Azure ID token.

clientId: string

Azure client ID.

clientSecret: string

Azure client secret.

scopes: string[]

Azure scopes.

optional
tenantId: string = [UNSUPPORTED]

Azure tenant ID (optional, defaults to "common").

Returns

Azure credentials based on the provided ID token.