Udostępnij za pośrednictwem


AzureServiceCredentials Class

Definition

Represents the credentials used to authenticate with Azure services.

public class AzureServiceCredentials : CoreWCF.Description.ServiceCredentials
type AzureServiceCredentials = class
    inherit ServiceCredentials
Public Class AzureServiceCredentials
Inherits ServiceCredentials
Inheritance
CoreWCF.Description.ServiceCredentials
AzureServiceCredentials

Constructors

AzureServiceCredentials()

Initializes a new instance of the AzureServiceCredentials class.

AzureServiceCredentials(AzureServiceCredentials)

Initializes a new instance of the AzureServiceCredentials class cloning an existing instance.

Properties

Audience

Gets or sets the audience to use for authentication with Microsoft Entra ID. The audience isn't considered when using a shared key.

ConnectionString

Gets or sets the connection string containing credentials. See how to Configure Azure Storage connection strings.

DefaultAzureCredentialOptions

Gets of sets the Azure.Identity.DefaultAzureCredentialOptions instance used with DefaultAzureCredential.

EnableTenantDiscovery

Enables tenant discovery through the authorization challenge when the client is configured to use a TokenCredential.

Sas

Gets or sets the Azure.AzureSasCredential (shared access signature) credential.

StorageSharedKey

Gets or sets the Azure.Storage.StorageSharedKeyCredential credential.

Token

Gets or sets the Azure.Core.TokenCredential credential.

Methods

CloneCore()

Creates a new copy of this AzureServiceCredentials instance.

CreateSecurityTokenManager()

Creates a security token manager for this instance.

Applies to