共用方式為


HmacRedactorOptions.Key 屬性

定義

取得或設定哈希索引鍵。

public:
 property System::String ^ Key { System::String ^ get(); void set(System::String ^ value); };
[System.ComponentModel.DataAnnotations.Base64String]
public string Key { get; set; }
[<System.ComponentModel.DataAnnotations.Base64String>]
member this.Key : string with get, set
Public Property Key As String

屬性值

預設值為 Empty

屬性

備註

索引鍵是以base 64格式指定,且長度必須至少為44個字元。

例如,我們建議針對服務的每個主要部署使用不同的密鑰 (,例如,針對服務所在的每個區域) 。 此外,金鑰數據應該保持秘密,並定期輪替。

適用於