AzureDataProtectionBuilderExtensions.PersistKeysToAzureBlobStorage AzureDataProtectionBuilderExtensions.PersistKeysToAzureBlobStorage AzureDataProtectionBuilderExtensions.PersistKeysToAzureBlobStorage Method

Definition

Overloads

PersistKeysToAzureBlobStorage(IDataProtectionBuilder, CloudBlockBlob) PersistKeysToAzureBlobStorage(IDataProtectionBuilder, CloudBlockBlob) PersistKeysToAzureBlobStorage(IDataProtectionBuilder, CloudBlockBlob)

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

PersistKeysToAzureBlobStorage(IDataProtectionBuilder, Uri) PersistKeysToAzureBlobStorage(IDataProtectionBuilder, Uri) PersistKeysToAzureBlobStorage(IDataProtectionBuilder, Uri)

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

PersistKeysToAzureBlobStorage(IDataProtectionBuilder, CloudBlobContainer, String) PersistKeysToAzureBlobStorage(IDataProtectionBuilder, CloudBlobContainer, String) PersistKeysToAzureBlobStorage(IDataProtectionBuilder, CloudBlobContainer, String)

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

PersistKeysToAzureBlobStorage(IDataProtectionBuilder, CloudStorageAccount, String) PersistKeysToAzureBlobStorage(IDataProtectionBuilder, CloudStorageAccount, String) PersistKeysToAzureBlobStorage(IDataProtectionBuilder, CloudStorageAccount, String)

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

PersistKeysToAzureBlobStorage(IDataProtectionBuilder, CloudBlockBlob) PersistKeysToAzureBlobStorage(IDataProtectionBuilder, CloudBlockBlob) PersistKeysToAzureBlobStorage(IDataProtectionBuilder, CloudBlockBlob)

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, Microsoft.WindowsAzure.Storage.Blob.CloudBlockBlob blobReference);
static member PersistKeysToAzureBlobStorage : Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder * Microsoft.WindowsAzure.Storage.Blob.CloudBlockBlob -> Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder
<Extension()>
Public Function PersistKeysToAzureBlobStorage (builder As IDataProtectionBuilder, blobReference As CloudBlockBlob) As IDataProtectionBuilder
Parameters
builder
IDataProtectionBuilder IDataProtectionBuilder IDataProtectionBuilder

The builder instance to modify.

blobReference
CloudBlockBlob CloudBlockBlob CloudBlockBlob

The CloudBlockBlob where the key file should be stored.

Returns

Remarks

The container referenced by blobReference must already exist.

PersistKeysToAzureBlobStorage(IDataProtectionBuilder, Uri) PersistKeysToAzureBlobStorage(IDataProtectionBuilder, Uri) PersistKeysToAzureBlobStorage(IDataProtectionBuilder, Uri)

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);
static member PersistKeysToAzureBlobStorage : Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder * Uri -> Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder
<Extension()>
Public Function PersistKeysToAzureBlobStorage (builder As IDataProtectionBuilder, blobUri As Uri) As IDataProtectionBuilder
Parameters
builder
IDataProtectionBuilder IDataProtectionBuilder IDataProtectionBuilder

The builder instance to modify.

blobUri
Uri Uri Uri

The full URI where the key file should be stored. The URI must contain the SAS token as a query string parameter.

Returns

Remarks

The container referenced by blobUri must already exist.

PersistKeysToAzureBlobStorage(IDataProtectionBuilder, CloudBlobContainer, String) PersistKeysToAzureBlobStorage(IDataProtectionBuilder, CloudBlobContainer, String) PersistKeysToAzureBlobStorage(IDataProtectionBuilder, CloudBlobContainer, String)

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, Microsoft.WindowsAzure.Storage.Blob.CloudBlobContainer container, string blobName);
static member PersistKeysToAzureBlobStorage : Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder * Microsoft.WindowsAzure.Storage.Blob.CloudBlobContainer * string -> Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder
<Extension()>
Public Function PersistKeysToAzureBlobStorage (builder As IDataProtectionBuilder, container As CloudBlobContainer, blobName As String) As IDataProtectionBuilder
Parameters
builder
IDataProtectionBuilder IDataProtectionBuilder IDataProtectionBuilder

The builder instance to modify.

container
CloudBlobContainer CloudBlobContainer CloudBlobContainer

The CloudBlobContainer in which the key file should be stored.

blobName
String String String

The name of the key file, generally specified as "[subdir/]keys.xml"

Returns

Remarks

The container referenced by container must already exist.

PersistKeysToAzureBlobStorage(IDataProtectionBuilder, CloudStorageAccount, String) PersistKeysToAzureBlobStorage(IDataProtectionBuilder, CloudStorageAccount, String) PersistKeysToAzureBlobStorage(IDataProtectionBuilder, CloudStorageAccount, String)

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, Microsoft.WindowsAzure.Storage.CloudStorageAccount storageAccount, string relativePath);
static member PersistKeysToAzureBlobStorage : Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder * Microsoft.WindowsAzure.Storage.CloudStorageAccount * string -> Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder
<Extension()>
Public Function PersistKeysToAzureBlobStorage (builder As IDataProtectionBuilder, storageAccount As CloudStorageAccount, relativePath As String) As IDataProtectionBuilder
Parameters
builder
IDataProtectionBuilder IDataProtectionBuilder IDataProtectionBuilder

The builder instance to modify.

relativePath
String String String

A relative path where the key file should be stored, generally specified as "/containerName/[subDir/]keys.xml".

Returns

Remarks

The container referenced by relativePath must already exist.

Applies to