Condividi tramite


ExtendedClientMethods.GetAsymmetricEncryptedSecretUsingActivationKey Method

Definition

Use this method to encrypt the user secrets (Storage Account Access Key, Volume Container Encryption Key etc.) using activation key

public static Microsoft.Azure.Management.EdgeGateway.Models.AsymmetricEncryptedSecret GetAsymmetricEncryptedSecretUsingActivationKey (this Microsoft.Azure.Management.EdgeGateway.IDevicesOperations operations, string deviceName, string resourceGroupName, string plainTextSecret, string activationKey);
static member GetAsymmetricEncryptedSecretUsingActivationKey : Microsoft.Azure.Management.EdgeGateway.IDevicesOperations * string * string * string * string -> Microsoft.Azure.Management.EdgeGateway.Models.AsymmetricEncryptedSecret
<Extension()>
Public Function GetAsymmetricEncryptedSecretUsingActivationKey (operations As IDevicesOperations, deviceName As String, resourceGroupName As String, plainTextSecret As String, activationKey As String) As AsymmetricEncryptedSecret

Parameters

operations
IDevicesOperations
deviceName
String

The resource name.

resourceGroupName
String

The resource group name.

plainTextSecret
String

The plain text secret.

activationKey
String

Returns

The AsymmetricEncryptedSecret.

Exceptions

Applies to