mirror of https://github.com/dapr/docs.git
Merge branch 'master' into youngp/lf
This commit is contained in:
commit
fbefa7795f
|
@ -37,6 +37,7 @@ When running in self hosted mode, place this file in a `components` directory un
|
||||||
## AWS Secret Manager reference example
|
## AWS Secret Manager reference example
|
||||||
|
|
||||||
This example shows you how to set the Redis password from the AWS Secret Manager secret store.
|
This example shows you how to set the Redis password from the AWS Secret Manager secret store.
|
||||||
|
Here, you created a secret named `redisPassword` in AWS Secret Manager. Note its important to set it both as the `name` and `key` properties.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
apiVersion: dapr.io/v1alpha1
|
apiVersion: dapr.io/v1alpha1
|
||||||
|
@ -51,6 +52,7 @@ spec:
|
||||||
- name: redisPassword
|
- name: redisPassword
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: redisPassword
|
name: redisPassword
|
||||||
|
key: redisPassword
|
||||||
auth:
|
auth:
|
||||||
secretStore: awssecretmanager
|
secretStore: awssecretmanager
|
||||||
```
|
```
|
||||||
|
|
|
@ -160,6 +160,7 @@ spec:
|
||||||
- name: redisPassword
|
- name: redisPassword
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: redisPassword
|
name: redisPassword
|
||||||
|
key: redisPassword
|
||||||
auth:
|
auth:
|
||||||
secretStore: azurekeyvault
|
secretStore: azurekeyvault
|
||||||
```
|
```
|
||||||
|
@ -257,6 +258,7 @@ spec:
|
||||||
- name: redisPassword
|
- name: redisPassword
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: redisPassword
|
name: redisPassword
|
||||||
|
key: redisPassword
|
||||||
auth:
|
auth:
|
||||||
secretStore: azurekeyvault
|
secretStore: azurekeyvault
|
||||||
```
|
```
|
||||||
|
|
|
@ -49,6 +49,7 @@ When running in self hosted mode, place this file in a `components` directory un
|
||||||
## GCP Secret Manager reference example
|
## GCP Secret Manager reference example
|
||||||
|
|
||||||
This example shows you how to take the Redis password from the GCP Secret Manager secret store.
|
This example shows you how to take the Redis password from the GCP Secret Manager secret store.
|
||||||
|
Here, you created a secret named `redisPassword` in GCP Secret Manager. Note its important to set it both as the `name` and `key` properties.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
apiVersion: dapr.io/v1alpha1
|
apiVersion: dapr.io/v1alpha1
|
||||||
|
@ -63,6 +64,7 @@ spec:
|
||||||
- name: redisPassword
|
- name: redisPassword
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: redisPassword
|
name: redisPassword
|
||||||
|
key: redisPassword
|
||||||
auth:
|
auth:
|
||||||
secretStore: gcpsecretmanager
|
secretStore: gcpsecretmanager
|
||||||
```
|
```
|
||||||
|
|
|
@ -61,6 +61,7 @@ spec:
|
||||||
- name: redisPassword
|
- name: redisPassword
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: redisPassword
|
name: redisPassword
|
||||||
|
key: redisPassword
|
||||||
auth:
|
auth:
|
||||||
secretStore: vault
|
secretStore: vault
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue