Skip to main content

getAzureCredential

@webda/azure


Function: getAzureCredential()

getAzureCredential(params?): TokenCredential

Defined in: azure/src/services/azure-parameters.ts:70

Select a service principal when all three credential fields are nonempty, otherwise use Azure's default chain. Constructing the credential performs no network I/O. Secrets are unwrapped only for the SDK constructor and clear-text values produce SecretString's value-free warning. The input and process environment are unchanged.

Parameters​

params?​

AzureServiceParameters = {}

Raw configuration parameters

Returns​

TokenCredential

The azure credential result