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:
apiVersion: dapr.io/v1alpha1
kind: Component
metadata:
name: envvar-secret-store
namespace: default
spec:
type: secretstores.local.env
version: v1
metadata:
Related Links
- Secrets building block
- How-To: Retreive a secret
- How-To: Reference secrets in Dapr components
- Secrets API reference
Last modified February 16, 2021: Merge pull request #1235 from dapr/update-v0.11 (b4e9fbb)