Share via


ExtendedClientMethods.GetAsymmetricEncryptedSecret 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
String

The resource name.

resourceGroupName
String

The resource group name.

plainTextSecret
String

The plain text secret.

channelIntegrationKey
String

Returns

The AsymmetricEncryptedSecret.

Exceptions

Applies to