Secret Class
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.
Holds device secret either as a KeyVault reference or as an encrypted value.
public class Secret
type Secret = class
Public Class Secret
- Inheritance
-
Secret
Constructors
Secret() |
Initializes a new instance of the Secret class. |
Secret(AsymmetricEncryptedSecret, String) |
Initializes a new instance of the Secret class. |
Properties
EncryptedSecret |
Gets or sets encrypted (using device public key) secret value. |
KeyVaultId |
Gets or sets id of the Key-Vault where secret is stored (ex: secrets/AuthClientSecret/82ef4346187a4033a10d629cde07d740). |
Methods
Validate() |
Validate the object. |
Applies to
Azure SDK for .NET