ExtendedClientMethods.GetAsymmetricEncryptedSecret(IDevicesOperations, String, String, String, String) Method

Definition

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

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

Parameters

operations
IDevicesOperations
deviceName
System.String

The resource name.

resourceGroupName
System.String

The resource group name.

plainTextSecret
System.String

The plain text secret.

channelIntegrationKey
System.String

Returns

AsymmetricEncryptedSecret

The AsymmetricEncryptedSecret.

Exceptions

System.InvalidOperationException

Applies to