Before you run the example make sure local redis state store is running by executing:
docker ps
- To run the example we need to first build the examples using the following command:
cargo build --examples- Run the example with dapr using the following command:
dapr run --app-id=rustapp --dapr-grpc-port 50001 --resources-path ./resources/ -- cargo run --example secrets-bulkIf everything went well you should see the following output along with dapr logs:
Found secret1 with value: TestSecret1
Found secret2 with value: TestSecret2
Found secret3 with value: TestSecret3
Note: The order of the secrets returned is not ordered