Share via


Secret Class

Definition

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