HmacRedactorOptions.Key Property
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.
Gets or sets the hashing 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
Property Value
The default is Empty.
- Attributes
Remarks
The key is specified in base 64 format, and must be a minimum of 44 characters long.
We recommend using a distinct key for each major deployment of a service (for example, for each region the service is in). Additionally, the key material should be kept secret and rotated on a regular basis.
Applies to
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.