AzureCredentialsFactory Class

Definition

public class AzureCredentialsFactory
type AzureCredentialsFactory = class
Public Class AzureCredentialsFactory
Inheritance
System.Object
AzureCredentialsFactory

Constructors

AzureCredentialsFactory()

Methods

FromFile(String)

Creates a credentials object from a file in the following format:

subscription=<subscription-id>
tenant=<tenant-id>
client=<client-id>
key=<client-key>
managementURI=<management-URI>
baseURL=<base-URL>
authURL=<authentication-URL>
FromServicePrincipal(String, String, String, AzureEnvironment)

Creates a credentials object from a service principal.

FromServicePrincipal(String, String, String, String, AzureEnvironment)
FromServicePrincipal(String, X509Certificate2, String, AzureEnvironment)

Applies to