Share via


Secret Constructors

Definition

Overloads

Secret()

Initializes a new instance of the Secret class.

Secret(AsymmetricEncryptedSecret, String)

Initializes a new instance of the Secret class.

Secret()

Initializes a new instance of the Secret class.

public Secret ();
Public Sub New ()

Applies to

Secret(AsymmetricEncryptedSecret, String)

Initializes a new instance of the Secret class.

public Secret (Microsoft.Azure.Management.DataBoxEdge.Models.AsymmetricEncryptedSecret encryptedSecret = default, string keyVaultId = default);
new Microsoft.Azure.Management.DataBoxEdge.Models.Secret : Microsoft.Azure.Management.DataBoxEdge.Models.AsymmetricEncryptedSecret * string -> Microsoft.Azure.Management.DataBoxEdge.Models.Secret
Public Sub New (Optional encryptedSecret As AsymmetricEncryptedSecret = Nothing, Optional keyVaultId As String = Nothing)

Parameters

encryptedSecret
AsymmetricEncryptedSecret

Encrypted (using device public key) secret value.

keyVaultId
String

Id of the Key-Vault where secret is stored (ex: secrets/AuthClientSecret/82ef4346187a4033a10d629cde07d740).

Applies to