Local file (for Development)

This Dapr secret store component reads plain text JSON from a given file and does not use authentication.

Warning

To setup local file based secret store create a component of type . Create a file with the following content in your ./components directory:

  1. {
  2. "redisPassword": "your redis password",
  3. "connectionStrings": {
  4. }
  5. }

The store will load the file and create a map with the following key value pairs:

flattened keyvalue
“redis”“your redis password”
“connectionStrings:sql”“your sql connection string”
“connectionStrings:mysql”“your mysql connection string”