@Jesus Arnas Iñigo Thanks for your question.I understand that you are trying to get instrumentation key from Azure Key Vault instead of named value. But you can configure your named values to read the instrumentation key directly from key vault instead of storing it as plain value. Have you considered this approach ?
Reference: