mirror of https://github.com/dapr/quickstarts.git
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> |
||
---|---|---|
.. | ||
order-processor | ||
README.md | ||
makefile |
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:
- Python service
order-processor
Run Python service with Dapr
- Open a new terminal window and navigate to
order-processor
directory:
cd ./order-processor
pip3 install -r requirements.txt
- Run the Python service app with Dapr:
cd ./order-processor
dapr run --app-id order-processor --resources-path ../../../components/ -- python3 app.py
dapr stop --app-id order-processor