AzureDataProtectionBuilderExtensions.PersistKeysToAzureBlobStorage Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
PersistKeysToAzureBlobStorage(IDataProtectionBuilder, CloudBlockBlob) |
Configures the data protection system to persist keys to the specified path in Azure Blob Storage. |
PersistKeysToAzureBlobStorage(IDataProtectionBuilder, CloudBlockBlob) |
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, CloudBlobContainer, String) |
Configures the data protection system to persist keys to the specified path in Azure Blob Storage. |
PersistKeysToAzureBlobStorage(IDataProtectionBuilder, CloudStorageAccount, String) |
Configures the data protection system to persist keys to the specified path in Azure Blob Storage. |
PersistKeysToAzureBlobStorage(IDataProtectionBuilder, CloudBlobContainer, String) |
Configures the data protection system to persist keys to the specified path in Azure Blob Storage. |
PersistKeysToAzureBlobStorage(IDataProtectionBuilder, CloudStorageAccount, String) |
Configures the data protection system to persist keys to the specified path in Azure Blob Storage. |
PersistKeysToAzureBlobStorage(IDataProtectionBuilder, CloudBlockBlob)
Configures the data protection system to persist keys to the specified path in Azure Blob Storage.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^ PersistKeysToAzureBlobStorage(Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^ builder, Microsoft::Azure::Storage::Blob::CloudBlockBlob ^ blobReference);
public static Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder PersistKeysToAzureBlobStorage (this Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder builder, Microsoft.Azure.Storage.Blob.CloudBlockBlob blobReference);
static member PersistKeysToAzureBlobStorage : Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder * Microsoft.Azure.Storage.Blob.CloudBlockBlob -> Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder
<Extension()>
Public Function PersistKeysToAzureBlobStorage (builder As IDataProtectionBuilder, blobReference As CloudBlockBlob) As IDataProtectionBuilder
Parameters
- builder
- IDataProtectionBuilder
The builder instance to modify.
- blobReference
- CloudBlockBlob
The CloudBlockBlob where the key file should be stored.
Returns
The value builder
.
Remarks
The container referenced by blobReference
must already exist.
Applies to
PersistKeysToAzureBlobStorage(IDataProtectionBuilder, CloudBlockBlob)
Configures the data protection system to persist keys to the specified path in Azure Blob Storage.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^ PersistKeysToAzureBlobStorage(Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^ builder, Microsoft::WindowsAzure::Storage::Blob::CloudBlockBlob ^ blobReference);
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
The builder instance to modify.
- blobReference
- CloudBlockBlob
The CloudBlockBlob where the key file should be stored.
Returns
The value builder
.
Remarks
The container referenced by blobReference
must already exist.
Applies to
PersistKeysToAzureBlobStorage(IDataProtectionBuilder, Uri)
Configures the data protection system to persist keys to the specified path in Azure Blob Storage.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^ PersistKeysToAzureBlobStorage(Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^ builder, Uri ^ blobUri);
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
The builder instance to modify.
- blobUri
- Uri
The full URI where the key file should be stored. The URI must contain the SAS token as a query string parameter.
Returns
The value builder
.
Remarks
The container referenced by blobUri
must already exist.
Applies to
PersistKeysToAzureBlobStorage(IDataProtectionBuilder, CloudBlobContainer, String)
Configures the data protection system to persist keys to the specified path in Azure Blob Storage.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^ PersistKeysToAzureBlobStorage(Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^ builder, Microsoft::Azure::Storage::Blob::CloudBlobContainer ^ container, System::String ^ blobName);
public static Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder PersistKeysToAzureBlobStorage (this Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder builder, Microsoft.Azure.Storage.Blob.CloudBlobContainer container, string blobName);
static member PersistKeysToAzureBlobStorage : Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder * Microsoft.Azure.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
The builder instance to modify.
- container
- CloudBlobContainer
The CloudBlobContainer in which the key file should be stored.
- blobName
- String
The name of the key file, generally specified as "[subdir/]keys.xml"
Returns
The value builder
.
Remarks
The container referenced by container
must already exist.
Applies to
PersistKeysToAzureBlobStorage(IDataProtectionBuilder, CloudStorageAccount, String)
Configures the data protection system to persist keys to the specified path in Azure Blob Storage.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^ PersistKeysToAzureBlobStorage(Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^ builder, Microsoft::Azure::Storage::CloudStorageAccount ^ storageAccount, System::String ^ relativePath);
public static Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder PersistKeysToAzureBlobStorage (this Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder builder, Microsoft.Azure.Storage.CloudStorageAccount storageAccount, string relativePath);
static member PersistKeysToAzureBlobStorage : Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder * Microsoft.Azure.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
The builder instance to modify.
- storageAccount
- CloudStorageAccount
The CloudStorageAccount which should be utilized.
- relativePath
- String
A relative path where the key file should be stored, generally specified as "/containerName/[subDir/]keys.xml".
Returns
The value builder
.
Remarks
The container referenced by relativePath
must already exist.
Applies to
PersistKeysToAzureBlobStorage(IDataProtectionBuilder, CloudBlobContainer, String)
Configures the data protection system to persist keys to the specified path in Azure Blob Storage.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^ PersistKeysToAzureBlobStorage(Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^ builder, Microsoft::WindowsAzure::Storage::Blob::CloudBlobContainer ^ container, System::String ^ blobName);
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
The builder instance to modify.
- container
- CloudBlobContainer
The CloudBlobContainer in which the key file should be stored.
- blobName
- String
The name of the key file, generally specified as "[subdir/]keys.xml"
Returns
The value builder
.
Remarks
The container referenced by container
must already exist.
Applies to
PersistKeysToAzureBlobStorage(IDataProtectionBuilder, CloudStorageAccount, String)
Configures the data protection system to persist keys to the specified path in Azure Blob Storage.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^ PersistKeysToAzureBlobStorage(Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^ builder, Microsoft::WindowsAzure::Storage::CloudStorageAccount ^ storageAccount, System::String ^ relativePath);
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
The builder instance to modify.
- storageAccount
- CloudStorageAccount
The CloudStorageAccount which should be utilized.
- relativePath
- String
A relative path where the key file should be stored, generally specified as "/containerName/[subDir/]keys.xml".
Returns
The value builder
.
Remarks
The container referenced by relativePath
must already exist.