Freigeben über


AzureStorageBlobDataProtectionBuilderExtensions.PersistKeysToAzureBlobStorage Methode

Definition

Überlädt

PersistKeysToAzureBlobStorage(IDataProtectionBuilder, BlobClient)

Konfiguriert das Datenschutzsystem so, dass Schlüssel für den angegebenen Pfad in Azure Blob Storage beibehalten werden.

PersistKeysToAzureBlobStorage(IDataProtectionBuilder, Func<IServiceProvider,BlobClient>)

Konfiguriert das Datenschutzsystem so, dass Schlüssel für den angegebenen Pfad in Azure Blob Storage beibehalten werden.

PersistKeysToAzureBlobStorage(IDataProtectionBuilder, Uri)

Konfiguriert das Datenschutzsystem so, dass Schlüssel für den angegebenen Pfad in Azure Blob Storage beibehalten werden.

PersistKeysToAzureBlobStorage(IDataProtectionBuilder, Uri, TokenCredential)

Konfiguriert das Datenschutzsystem so, dass Schlüssel für den angegebenen Pfad in Azure Blob Storage beibehalten werden.

PersistKeysToAzureBlobStorage(IDataProtectionBuilder, Uri, StorageSharedKeyCredential)

Konfiguriert das Datenschutzsystem so, dass Schlüssel für den angegebenen Pfad in Azure Blob Storage beibehalten werden.

PersistKeysToAzureBlobStorage(IDataProtectionBuilder, String, String, String)

Konfiguriert das Datenschutzsystem so, dass Schlüssel für den angegebenen Pfad in Azure Blob Storage beibehalten werden.

PersistKeysToAzureBlobStorage(IDataProtectionBuilder, BlobClient)

Quelle:
AzureStorageBlobDataProtectionBuilderExtensions.cs

Konfiguriert das Datenschutzsystem so, dass Schlüssel für den angegebenen Pfad in Azure Blob Storage beibehalten werden.

public static Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder PersistKeysToAzureBlobStorage (this Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder builder, Azure.Storage.Blobs.BlobClient blobClient);
static member PersistKeysToAzureBlobStorage : Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder * Azure.Storage.Blobs.BlobClient -> Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder
<Extension()>
Public Function PersistKeysToAzureBlobStorage (builder As IDataProtectionBuilder, blobClient As BlobClient) As IDataProtectionBuilder

Parameter

builder
IDataProtectionBuilder

Der Generator instance zu ändern.

blobClient
BlobClient

Die BlobClient , in der die Schlüsseldatei gespeichert werden soll.

Gibt zurück

Der Wert builder.

Hinweise

Das Blob, auf das von verwiesen wird blobClient , muss bereits vorhanden sein.

Gilt für:

PersistKeysToAzureBlobStorage(IDataProtectionBuilder, Func<IServiceProvider,BlobClient>)

Quelle:
AzureStorageBlobDataProtectionBuilderExtensions.cs

Konfiguriert das Datenschutzsystem so, dass Schlüssel für den angegebenen Pfad in Azure Blob Storage beibehalten werden.

public static Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder PersistKeysToAzureBlobStorage (this Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder builder, Func<IServiceProvider,Azure.Storage.Blobs.BlobClient> blobClientFactory);
static member PersistKeysToAzureBlobStorage : Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder * Func<IServiceProvider, Azure.Storage.Blobs.BlobClient> -> Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder
<Extension()>
Public Function PersistKeysToAzureBlobStorage (builder As IDataProtectionBuilder, blobClientFactory As Func(Of IServiceProvider, BlobClient)) As IDataProtectionBuilder

Parameter

builder
IDataProtectionBuilder

Der Generator instance zu ändern.

blobClientFactory
Func<IServiceProvider,BlobClient>

Der Factorydelegat, der verwendet wird, um den BlobClient zu erstellen, in dem die Schlüsseldatei gespeichert werden soll.

Gibt zurück

Der Wert builder.

Hinweise

Das Blob, auf das von verwiesen wird blobClient , muss bereits vorhanden sein.

Gilt für:

PersistKeysToAzureBlobStorage(IDataProtectionBuilder, Uri)

Quelle:
AzureStorageBlobDataProtectionBuilderExtensions.cs

Konfiguriert das Datenschutzsystem so, dass Schlüssel für den angegebenen Pfad in Azure Blob Storage beibehalten werden.

public static Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder PersistKeysToAzureBlobStorage (this Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder builder, Uri blobSasUri);
static member PersistKeysToAzureBlobStorage : Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder * Uri -> Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder
<Extension()>
Public Function PersistKeysToAzureBlobStorage (builder As IDataProtectionBuilder, blobSasUri As Uri) As IDataProtectionBuilder

Parameter

builder
IDataProtectionBuilder

Der Generator instance zu ändern.

blobSasUri
Uri

Gibt zurück

Der Wert builder.

Hinweise

Der Container, auf den von verwiesen wird blobSasUri , muss bereits vorhanden sein.

Gilt für:

PersistKeysToAzureBlobStorage(IDataProtectionBuilder, Uri, TokenCredential)

Quelle:
AzureStorageBlobDataProtectionBuilderExtensions.cs

Konfiguriert das Datenschutzsystem so, dass Schlüssel für den angegebenen Pfad in Azure Blob Storage beibehalten werden.

public static Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder PersistKeysToAzureBlobStorage (this Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder builder, Uri blobUri, Azure.Core.TokenCredential tokenCredential);
static member PersistKeysToAzureBlobStorage : Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder * Uri * Azure.Core.TokenCredential -> Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder
<Extension()>
Public Function PersistKeysToAzureBlobStorage (builder As IDataProtectionBuilder, blobUri As Uri, tokenCredential As TokenCredential) As IDataProtectionBuilder

Parameter

builder
IDataProtectionBuilder

Der Generator instance zu ändern.

blobUri
Uri
tokenCredential
TokenCredential

Die Anmeldeinformationen zum Herstellen einer Verbindung mit dem Blob.

Gibt zurück

Der Wert builder.

Hinweise

Der Container, auf den von verwiesen wird blobUri , muss bereits vorhanden sein.

Gilt für:

PersistKeysToAzureBlobStorage(IDataProtectionBuilder, Uri, StorageSharedKeyCredential)

Quelle:
AzureStorageBlobDataProtectionBuilderExtensions.cs

Konfiguriert das Datenschutzsystem so, dass Schlüssel für den angegebenen Pfad in Azure Blob Storage beibehalten werden.

public static Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder PersistKeysToAzureBlobStorage (this Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder builder, Uri blobUri, Azure.Storage.StorageSharedKeyCredential sharedKeyCredential);
static member PersistKeysToAzureBlobStorage : Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder * Uri * Azure.Storage.StorageSharedKeyCredential -> Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder
<Extension()>
Public Function PersistKeysToAzureBlobStorage (builder As IDataProtectionBuilder, blobUri As Uri, sharedKeyCredential As StorageSharedKeyCredential) As IDataProtectionBuilder

Parameter

builder
IDataProtectionBuilder

Der Generator instance zu ändern.

blobUri
Uri
sharedKeyCredential
StorageSharedKeyCredential

Die Anmeldeinformationen zum Herstellen einer Verbindung mit dem Blob.

Gibt zurück

Der Wert builder.

Hinweise

Der Container, auf den von verwiesen wird blobUri , muss bereits vorhanden sein.

Gilt für:

PersistKeysToAzureBlobStorage(IDataProtectionBuilder, String, String, String)

Quelle:
AzureStorageBlobDataProtectionBuilderExtensions.cs

Konfiguriert das Datenschutzsystem so, dass Schlüssel für den angegebenen Pfad in Azure Blob Storage beibehalten werden.

public static Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder PersistKeysToAzureBlobStorage (this Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder builder, string connectionString, string containerName, string blobName);
static member PersistKeysToAzureBlobStorage : Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder * string * string * string -> Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder
<Extension()>
Public Function PersistKeysToAzureBlobStorage (builder As IDataProtectionBuilder, connectionString As String, containerName As String, blobName As String) As IDataProtectionBuilder

Parameter

builder
IDataProtectionBuilder

Der Generator instance zu ändern.

connectionString
String

Eine Verbindungszeichenfolge enthält die erforderlichen Authentifizierungsinformationen zum Zugriff auf Daten in einem Azure Storage-Konto aus Ihrer Anwendung zur Laufzeit.

containerName
String

Der zu verwendende Containername.

blobName
String

Der zu verwendende Blobname.

Gibt zurück

Der Wert builder.

Hinweise

Der Container, auf den von verwiesen wird containerName , muss bereits vorhanden sein.

Gilt für: