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:
{
"redisPassword": "your redis password",
"connectionStrings": {
}
}
The store will load the file and create a map with the following key value pairs:
flattened key | value |
---|---|
“redis” | “your redis password” |
“connectionStrings:sql” | “your sql connection string” |
“connectionStrings:mysql” | “your mysql connection string” |