quickstarts/secrets_management/java/sdk
Hannah Hunter 6d88455770
update from components path to resources path (#781)
Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>
Signed-off-by: Hannah Hunter <94493363+hhunter-ms@users.noreply.github.com>
Signed-off-by: Artur Souza <artursouza.ms@outlook.com>
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
2023-02-03 10:51:02 -08:00
..
order-processor Fix maven dependency incompatible with Java 11 2022-08-15 20:27:10 +08:00
README.md update from components path to resources path (#781) 2023-02-03 10:51:02 -08:00
makefile Removed docker image prefix addition step 2022-07-25 12:28:57 -07:00

README.md

Dapr secrets management (HTTP Client)

In this quickstart, you'll create a microservice to demonstrate Dapr's secrets management API. The service fetches secret from a secret store. See Why secrets management to understand when to use this API.

Visit this link for more information about Dapr and Secrets Management.

Note: This example leverages the Dapr client SDK. If you are looking for the example using only HTTP click here.

This quickstart includes one service:

  • Java client service order-processor

Run Java service with Dapr

  1. Navigate to folder and install dependencies:
cd ./order-processor
mvn clean install
  1. Run the Java service app with Dapr:
cd ./order-processor
dapr run --app-id order-processor --resources-path ../../../components/ -- java -jar target/OrderProcessingService-0.0.1-SNAPSHOT.jar
dapr stop --app-id order-processor