Using this library: https://www.npmjs.com/package/@azure/app-configuration
Following the setup, when I make any request using the AppConfigurationClient I get a 401 error. In the response headers, I see:
www-authenticate: HMAC-SHA256 error="invalid_token", error_description="Invalid Credential"
which is mentioned in this documentation:
https://learn.microsoft.com/en-us/azure/azure-app-configuration/rest-api-authentication-hmac
It seems that the credential and or host are invalid. However I am taking the credential straight from the App Configuration in Azure Portal, using the connection string as mentioned in all documentation. I have also tried using postman and I get the same error, even when I manually add the host to the headers.