CmdID / az / az keyvault / az keyvault key
az keyvault key encrypt
Encrypt an arbitrary sequence of bytes using an encryption key that is stored in a Vault or HSM. Azure CLI reference
10 options Its page in the Azure CLI reference
Options
--aadOptional data that is authenticated but not encrypted.--algorithm, -aAlgorithm identifier--data-typeThe type of the original data.--hsm-nameName of the HSM.--idId of the key.--ivInitialization vector.--name, -nName of the key.--valueThe value to be encrypted.--vault-nameName of the Vault.--version, -vThe key version.