Share via


IKeyVaultDataServiceClient.Encrypt Method

Definition

public Microsoft.Azure.Commands.KeyVault.Models.PSKeyOperationResult Encrypt (string vaultName, string keyName, string version, byte[] value, string encryptAlgorithm);
abstract member Encrypt : string * string * string * byte[] * string -> Microsoft.Azure.Commands.KeyVault.Models.PSKeyOperationResult
Public Function Encrypt (vaultName As String, keyName As String, version As String, value As Byte(), encryptAlgorithm As String) As PSKeyOperationResult

Parameters

vaultName
String
keyName
String
version
String
value
Byte[]
encryptAlgorithm
String

Returns

Applies to