Notes for Keyvault `encrypt` operation need clarification
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 3.5k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 60
Description
The notes for the Keyvault `encrypt` operation says:
> Note that the ENCRYPT operation only supports a single block of data, the size of which is dependent on the target key and the encryption algorithm to be used.
This implies that, for AES, you may only send 16 bytes (as AES has a fixed 128bit block size) however this is not the case and [this page](https://learn.microsoft.com/en-us/azure/key-vault/general/service-limits#aes-key-operations-number-of-operations-per-second-per-hsm-instance) mentions that quoted limits for AES are based on a 4KB packet size.
It's possible that the "single block" limit relates to asymmetric algorithms only however the notes also mention that the operation is not really meant to be used with asymmetric algorithms and is provided for convenience only.
Please could this text be clarified as to what this "single block" limit refers to with maybe a link to the actual limits if those details are available anywhere.
---
#### Document Details
⚠ *Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.*
* ID: fe0f363b-7f21-0ea9-3e27-da7866c94102
* Version Independent ID: 6cc413e4-4f7d-9baa-a365-c9275fc6a7ad
* Content: [az keyvault key](https://learn.microsoft.com/en-us/cli/azure/keyvault/key?view=azure-cli-latest#az-keyvault-key-encrypt)
* Content Source: [latest/docs-ref-autogen/keyvault/key.yml](https://github.com/MicrosoftDocs/azure-docs-cli/blob/main/latest/docs-ref-autogen/keyvault/key.yml)
* Service: **key-vault**
* GitHub Login: @rloutlaw
* Microsoft Alias: **routlaw**
Contributor guide
Assessment
This issue has not been assessed yet.