AzureCredentialsFactory Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public class AzureCredentialsFactory
type AzureCredentialsFactory = class
Public Class AzureCredentialsFactory
- Inheritance
-
AzureCredentialsFactory
Constructors
AzureCredentialsFactory() |
Methods
FromDevice(String, String, AzureEnvironment, Func<DeviceCodeResult,Boolean>) |
Creates a credentials object through device flow. |
FromFile(String) |
Creates a credentials object from a file in the following format:
|
FromMSI(MSILoginInformation, AzureEnvironment, String) |
Creates a credential object using token from local managed service identity endpoint. |
FromServicePrincipal(String, String, String, AzureEnvironment) |
Creates a credentials object from a service principal. |
FromServicePrincipal(String, String, String, Boolean, String, AzureEnvironment) |
Creates a credentials object from a service principal. |
FromServicePrincipal(String, String, String, String, AzureEnvironment) |
Creates a credentials object from a service principal. |
FromServicePrincipal(String, X509Certificate2, Boolean, String, AzureEnvironment) |
Creates a credentials object from a service principal. |
FromServicePrincipal(String, X509Certificate2, String, AzureEnvironment) |
Creates a credentials object from a service principal. |
FromSystemAssignedManagedServiceIdentity(MSIResourceType, AzureEnvironment, String) |
Creates a credential object using token from local managed service identity endpoint. |
FromUserAssigedManagedServiceIdentity(String, MSIResourceType, AzureEnvironment, String) |
Creates a credential object using token from local managed service identity endpoint. |