quickstarts/secrets_management/javascript/http/README.md

1.3 KiB

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:

  • Node client service order-processor

Run Node service with Dapr

  1. Navigate to folder and install dependencies:
cd ./order-processor
npm install
  1. Run the Node service app with Dapr:
dapr run --app-id order-processor --resources-path ../../../components/ -- npm start
dapr stop --app-id order-processor