quickstarts/secrets_management/java/http
amardeep2006 bc0430a277 feat: upgraded springboot to 3.3.1 and bumped up other dependencies to latest.
docs: Updated read me files to use Java 17 as baseline
Signed-off-by: amardeep2006 <amardeep2006@gmail.com>
2024-06-29 15:10:27 +05:30
..
order-processor feat: upgraded springboot to 3.3.1 and bumped up other dependencies to latest. 2024-06-29 15:10:27 +05:30
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 HTTP requests only. If you are looking for the example using the Dapr Client SDK (recommended) 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