mirror of https://github.com/dapr/docs.git
Update aws-secret-manager.md (#442)
This commit is contained in:
parent
d45a08d37d
commit
f89068738f
|
@ -37,6 +37,7 @@ When running in self hosted mode, place this file in a `components` directory un
|
|||
## AWS Secret Manager reference example
|
||||
|
||||
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
|
||||
apiVersion: dapr.io/v1alpha1
|
||||
|
@ -51,6 +52,7 @@ spec:
|
|||
- name: redisPassword
|
||||
secretKeyRef:
|
||||
name: redisPassword
|
||||
key: redisPassword
|
||||
auth:
|
||||
secretStore: awssecretmanager
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue