How to connect Azure Key Vault to n8n secrets

so in my secret im inputting {{ $secrets.vault-name.secret-name }} and im getting the error below is it possible that my azure app registration needs to have the api permissions to access the key vault and that’s why im getting a oauth error because the oauth error doesnt make sense to me. my set up if on prem n8n using a helm chart to build and deploy n8n

Describe the problem/error/question

OAuth Authorization Error

There was a problem generating the authorization URL
Could not load secrets

hello @Matthew_anglim

did you connect the Key Vault to n8n prior to use it in the credentials?

Hi Matt,

Did you get this working and how?