Closed Deltids closed 2 years ago
I don't believe this is a Sidekick issue, the Dapr local secret store component expects the secret JSON file path to be relative to the daprd
binary location, not the components
path. So if you drop your secrets file into your Dapr bin
folder (on Windows it is %USERPROFILE%\.dapr\bin
) or specify the full path to the file then the runtime will find it. I believe it's been this way for some time.
If you would prefer daprd
to locate the secrets file from a different default location suggest you raise an issue in the components-contrib project against the local secret store.
Expected Behavior
Local dapr secrets file is found and loaded
Actual Behavior
Local dapr secrets file is not found
Steps to Reproduce the Problem
Create ./dapr.secrets.local
Run application and check the logs
Open ConsulSample.Sender.csproj
Change version
Start application and see that there are no errors in the debug logs.