I want to integrate my azure functions app with the key vault. I followed the steps shown here http://blogs.adatis.co.uk/benjarvis/post/Azure-Functions-Key-Vault-Integration
But facing this error- Value cannot be null. Parameter name: authKeyOrResourceToken
Not sure where I'm going wrong. Any help would be greatly appreciated.
I tried to add an environmental variable named 'authKeyOrResourceToken' under the application settings, proving the value with default func key. But no luck.
This is how my function.json looks like
{ "type": "CosmosDB", "name": "<>", "databaseName": "<>", "collectionName": "<>", "connectionStringSetting": "<>", "sqlQuery": "SELECT * FROM c where c.recordType = {recordType}", "direction": "in" }
While I expect the result of the query, I'm facing the exception.