mirror of https://github.com/dapr/docs.git
update secrets docs (#443)
* update secrets docs * Update gcp-secret-manager.md * Update hashicorp-vault.md * Update component-secrets.md
This commit is contained in:
parent
f89068738f
commit
9878e699d2
|
@ -160,6 +160,7 @@ spec:
|
|||
- name: redisPassword
|
||||
secretKeyRef:
|
||||
name: redisPassword
|
||||
key: redisPassword
|
||||
auth:
|
||||
secretStore: azurekeyvault
|
||||
```
|
||||
|
@ -257,6 +258,7 @@ spec:
|
|||
- name: redisPassword
|
||||
secretKeyRef:
|
||||
name: redisPassword
|
||||
key: redisPassword
|
||||
auth:
|
||||
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
|
||||
|
||||
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
|
||||
apiVersion: dapr.io/v1alpha1
|
||||
|
@ -63,6 +64,7 @@ spec:
|
|||
- name: redisPassword
|
||||
secretKeyRef:
|
||||
name: redisPassword
|
||||
key: redisPassword
|
||||
auth:
|
||||
secretStore: gcpsecretmanager
|
||||
```
|
||||
|
|
|
@ -61,6 +61,7 @@ spec:
|
|||
- name: redisPassword
|
||||
secretKeyRef:
|
||||
name: redisPassword
|
||||
key: redisPassword
|
||||
auth:
|
||||
secretStore: vault
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue