AzureDataProtectionBuilderExtensions.PersistKeysToAzureBlobStorage 方法

定义

重载

PersistKeysToAzureBlobStorage(IDataProtectionBuilder, CloudBlockBlob)

配置数据保护系统,以将密钥保存到 Azure Blob 存储 中的指定路径。

PersistKeysToAzureBlobStorage(IDataProtectionBuilder, CloudBlockBlob)

配置数据保护系统,以将密钥保存到 Azure Blob 存储 中的指定路径。

PersistKeysToAzureBlobStorage(IDataProtectionBuilder, Uri)

配置数据保护系统,以将密钥保存到 Azure Blob 存储 中的指定路径。

PersistKeysToAzureBlobStorage(IDataProtectionBuilder, CloudBlobContainer, String)

配置数据保护系统,以将密钥保存到 Azure Blob 存储 中的指定路径。

PersistKeysToAzureBlobStorage(IDataProtectionBuilder, CloudStorageAccount, String)

配置数据保护系统,以将密钥保存到 Azure Blob 存储 中的指定路径。

PersistKeysToAzureBlobStorage(IDataProtectionBuilder, CloudBlobContainer, String)

配置数据保护系统,以将密钥保存到 Azure Blob 存储 中的指定路径。

PersistKeysToAzureBlobStorage(IDataProtectionBuilder, CloudStorageAccount, String)

配置数据保护系统,以将密钥保存到 Azure Blob 存储 中的指定路径。

PersistKeysToAzureBlobStorage(IDataProtectionBuilder, CloudBlockBlob)

Source:
AzureDataProtectionBuilderExtensions.cs
Source:
AzureDataProtectionBuilderExtensions.cs

配置数据保护系统,以将密钥保存到 Azure Blob 存储 中的指定路径。

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

参数

builder
IDataProtectionBuilder

要修改的生成器实例。

blobReference
CloudBlockBlob

CloudBlockBlob应存储密钥文件的 。

返回

builder

注解

引用的 blobReference 容器必须已存在。

适用于

PersistKeysToAzureBlobStorage(IDataProtectionBuilder, CloudBlockBlob)

Source:
AzureDataProtectionBuilderExtensions.cs

配置数据保护系统,以将密钥保存到 Azure Blob 存储 中的指定路径。

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

参数

builder
IDataProtectionBuilder

要修改的生成器实例。

blobReference
CloudBlockBlob

CloudBlockBlob应存储密钥文件的 。

返回

builder

注解

引用的 blobReference 容器必须已存在。

适用于

PersistKeysToAzureBlobStorage(IDataProtectionBuilder, Uri)

Source:
AzureDataProtectionBuilderExtensions.cs
Source:
AzureDataProtectionBuilderExtensions.cs
Source:
AzureDataProtectionBuilderExtensions.cs

配置数据保护系统,以将密钥保存到 Azure Blob 存储 中的指定路径。

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

参数

builder
IDataProtectionBuilder

要修改的生成器实例。

blobUri
Uri

应存储密钥文件的完整 URI。 URI 必须包含 SAS 令牌作为查询字符串参数。

返回

builder

注解

引用的 blobUri 容器必须已存在。

适用于

PersistKeysToAzureBlobStorage(IDataProtectionBuilder, CloudBlobContainer, String)

Source:
AzureDataProtectionBuilderExtensions.cs
Source:
AzureDataProtectionBuilderExtensions.cs

配置数据保护系统,以将密钥保存到 Azure Blob 存储 中的指定路径。

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

参数

builder
IDataProtectionBuilder

要修改的生成器实例。

container
CloudBlobContainer

CloudBlobContainer应存储密钥文件的 。

blobName
String

密钥文件的名称,通常指定为“[subdir/]keys.xml”

返回

builder

注解

引用的 container 容器必须已存在。

适用于

PersistKeysToAzureBlobStorage(IDataProtectionBuilder, CloudStorageAccount, String)

Source:
AzureDataProtectionBuilderExtensions.cs
Source:
AzureDataProtectionBuilderExtensions.cs

配置数据保护系统,以将密钥保存到 Azure Blob 存储 中的指定路径。

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

参数

builder
IDataProtectionBuilder

要修改的生成器实例。

storageAccount
CloudStorageAccount

CloudStorageAccount应使用的 。

relativePath
String

应存储密钥文件的相对路径,通常指定为“/containerName/[subDir/]keys.xml”。

返回

builder

注解

引用的 relativePath 容器必须已存在。

适用于

PersistKeysToAzureBlobStorage(IDataProtectionBuilder, CloudBlobContainer, String)

Source:
AzureDataProtectionBuilderExtensions.cs

配置数据保护系统,以将密钥保存到 Azure Blob 存储 中的指定路径。

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

参数

builder
IDataProtectionBuilder

要修改的生成器实例。

container
CloudBlobContainer

CloudBlobContainer应存储密钥文件的 。

blobName
String

密钥文件的名称,通常指定为“[subdir/]keys.xml”

返回

builder

注解

引用的 container 容器必须已存在。

适用于

PersistKeysToAzureBlobStorage(IDataProtectionBuilder, CloudStorageAccount, String)

Source:
AzureDataProtectionBuilderExtensions.cs

配置数据保护系统,以将密钥保存到 Azure Blob 存储 中的指定路径。

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

参数

builder
IDataProtectionBuilder

要修改的生成器实例。

storageAccount
CloudStorageAccount

CloudStorageAccount应使用的 。

relativePath
String

应存储密钥文件的相对路径,通常指定为“/containerName/[subDir/]keys.xml”。

返回

builder

注解

引用的 relativePath 容器必须已存在。

适用于