Condividi tramite


AzureStorageBlobDataProtectionBuilderExtensions.PersistKeysToAzureBlobStorage Method

Definition

Overloads

PersistKeysToAzureBlobStorage(IDataProtectionBuilder, BlobClient)

Configures the data protection system to persist keys to the specified path in Azure Blob Storage.

PersistKeysToAzureBlobStorage(IDataProtectionBuilder, Func<IServiceProvider,BlobClient>)

Configures the data protection system to persist keys to the specified path in Azure Blob Storage.

PersistKeysToAzureBlobStorage(IDataProtectionBuilder, Uri)

Configures the data protection system to persist keys to the specified path in Azure Blob Storage.

PersistKeysToAzureBlobStorage(IDataProtectionBuilder, Uri, TokenCredential)

Configures the data protection system to persist keys to the specified path in Azure Blob Storage.

PersistKeysToAzureBlobStorage(IDataProtectionBuilder, Uri, StorageSharedKeyCredential)

Configures the data protection system to persist keys to the specified path in Azure Blob Storage.

PersistKeysToAzureBlobStorage(IDataProtectionBuilder, String, String, String)

Configures the data protection system to persist keys to the specified path in Azure Blob Storage.

PersistKeysToAzureBlobStorage(IDataProtectionBuilder, BlobClient)

Source:
AzureStorageBlobDataProtectionBuilderExtensions.cs

Configures the data protection system to persist keys to the specified path in Azure Blob Storage.

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

Parameters

builder
IDataProtectionBuilder

The builder instance to modify.

blobClient
BlobClient

The BlobClient in which the key file should be stored.

Returns

The value builder.

Remarks

The blob referenced by blobClient must already exist.

Applies to

PersistKeysToAzureBlobStorage(IDataProtectionBuilder, Func<IServiceProvider,BlobClient>)

Source:
AzureStorageBlobDataProtectionBuilderExtensions.cs

Configures the data protection system to persist keys to the specified path in Azure Blob Storage.

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

Parameters

builder
IDataProtectionBuilder

The builder instance to modify.

blobClientFactory
Func<IServiceProvider,BlobClient>

The factory delegate used to create the BlobClient in which the key file should be stored.

Returns

The value builder.

Remarks

The blob referenced by blobClient must already exist.

Applies to

PersistKeysToAzureBlobStorage(IDataProtectionBuilder, Uri)

Source:
AzureStorageBlobDataProtectionBuilderExtensions.cs

Configures the data protection system to persist keys to the specified path in Azure Blob Storage.

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

Parameters

builder
IDataProtectionBuilder

The builder instance to modify.

blobSasUri
Uri

Returns

The value builder.

Remarks

The container referenced by blobSasUri must already exist.

Applies to

PersistKeysToAzureBlobStorage(IDataProtectionBuilder, Uri, TokenCredential)

Source:
AzureStorageBlobDataProtectionBuilderExtensions.cs

Configures the data protection system to persist keys to the specified path in Azure Blob Storage.

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

Parameters

builder
IDataProtectionBuilder

The builder instance to modify.

blobUri
Uri
tokenCredential
TokenCredential

The credentials to connect to the blob.

Returns

The value builder.

Remarks

The container referenced by blobUri must already exist.

Applies to

PersistKeysToAzureBlobStorage(IDataProtectionBuilder, Uri, StorageSharedKeyCredential)

Source:
AzureStorageBlobDataProtectionBuilderExtensions.cs

Configures the data protection system to persist keys to the specified path in Azure Blob Storage.

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

Parameters

builder
IDataProtectionBuilder

The builder instance to modify.

blobUri
Uri
sharedKeyCredential
StorageSharedKeyCredential

The credentials to connect to the blob.

Returns

The value builder.

Remarks

The container referenced by blobUri must already exist.

Applies to

PersistKeysToAzureBlobStorage(IDataProtectionBuilder, String, String, String)

Source:
AzureStorageBlobDataProtectionBuilderExtensions.cs

Configures the data protection system to persist keys to the specified path in Azure Blob Storage.

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

Parameters

builder
IDataProtectionBuilder

The builder instance to modify.

connectionString
String

A connection string includes the authentication information required for your application to access data in an Azure Storage account at runtime.

containerName
String

The container name to use.

blobName
String

The blob name to use.

Returns

The value builder.

Remarks

The container referenced by containerName must already exist.

Applies to