ConfigurationProperty.DecryptValue 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.
Decrypts an encrypted value and returns it as a SecureString.
public System.Security.SecureString DecryptValue ();
member this.DecryptValue : unit -> System.Security.SecureString
Public Function DecryptValue () As SecureString
Returns
Returns SecureString.
Exceptions
The value of the ConfigurationProperty is not encrypted.
Remarks
See https://docs.microsoft.com/azure/service-fabric/service-fabric-application-secret-management for an example on how to encrypt a secret and store it in the configuration and how to use this method to decrypt the value at runtime.
Applies to
Azure SDK for .NET
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro