Azure Key Vault Encrypt with AES returns 413 Request Entity Too Large
Bobby Bridges
0
Reputation points
I'm using a 256 bit AES key that's stored in Azure Managed HSM and I'm trying to encrypt data using the Azure SDK. When I try to encrypt the data using the AES key, the SDK returns a 413 Request Entity Too Large error. The data is likely in JSON format and I'm using Encoding.UTF8.GetBytes prior to making the Encrypt call with the SDK. Do you have any suggestions to avoid this error?
Sign in to answer