Hi ,
The length you are mentioning is the length of content type field not for the secret value
and the maximum character limit for a secret value in Azure Key Vault is 25,600 characters. In the same link you can find that see Below Image
Please accept answer if it has helped , Thanks!