mirror of https://github.com/dapr/docs.git
29 lines
768 B
Markdown
29 lines
768 B
Markdown
# Redis Binding Spec
|
|
|
|
```yaml
|
|
apiVersion: dapr.io/v1alpha1
|
|
kind: Component
|
|
metadata:
|
|
name: <NAME>
|
|
namespace: <NAMESPACE>
|
|
spec:
|
|
type: bindings.redis
|
|
metadata:
|
|
- name: redisHost
|
|
value: <address>:6379
|
|
- name: redisPassword
|
|
value: **************
|
|
- name: enableTLS
|
|
value: <bool>
|
|
```
|
|
|
|
- `redisHost` is the Redis host address.
|
|
- `redisPassword` is the Redis password.
|
|
- `enableTLS` - If the Redis instance supports TLS with public certificates it can be configured to enable or disable TLS.
|
|
|
|
> **Note:** In production never place passwords or secrets within Dapr components. For information on securely storing and retrieving secrets refer to [Setup Secret Store](../../../howto/setup-secret-store)
|
|
|
|
## Output Binding Supported Operations
|
|
|
|
* create
|