This document describes how to use the Dapr Secret Store Configuration Provider sample to load Secrets into ASP.NET Core Configuration.
To load secrets into configuration call the AddDaprSecretStore extension method with the name of the Secret Store and a list of secrets descriptors or related metadata.
Use Dapr to run the application:
dapr run --app-id SecretStoreConfigurationProviderSample --components-path ./components/ -- dotnet run
Run the following command in other terminal:
curl http://localhost:5000/secret
The response should read: "This the way"