Прочитать на английском

Поделиться через


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);

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);

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);

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);

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);

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);

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

Продукт Версии