Local environment variables (for Development)

Detailed information on the local environment secret store component

This Dapr secret store component uses locally defined environment variable and does not use authentication.

Warning

This approach to secret management is not recommended for production environments.

Setup environment variable secret store

To enable environment variable secret store, create a file with the following content in your ./components directory:

  1. apiVersion: dapr.io/v1alpha1
  2. kind: Component
  3. metadata:
  4. name: envvar-secret-store
  5. namespace: default
  6. spec:
  7. type: secretstores.local.env
  8. version: v1
  9. metadata:

Related Links

Last modified February 16, 2021: Merge pull request #1235 from dapr/update-v0.11 (b4e9fbb)