mirror of https://github.com/dapr/docs.git
Merge branch 'v1.11' into fix-3328
This commit is contained in:
commit
2e3d884ad8
|
@ -26,7 +26,23 @@ spec:
|
||||||
type: secretstores.local.env
|
type: secretstores.local.env
|
||||||
version: v1
|
version: v1
|
||||||
metadata:
|
metadata:
|
||||||
|
# - name: prefix
|
||||||
|
# value: "MYAPP_"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Spec metadata fields
|
||||||
|
|
||||||
|
| Field | Required | Details | Example |
|
||||||
|
|-------|:--------:|---------|---------|
|
||||||
|
| `prefix` | N | If set, limits operations to environment variables with the given prefix. The prefix is removed from the returned secrets' names.<br>The matching is case-insensitive on Windows and case-sensitive on all other operating systems. | `"MYAPP_"`
|
||||||
|
|
||||||
|
## Notes
|
||||||
|
|
||||||
|
For security reasons, this component cannot be used to access these environment variables:
|
||||||
|
|
||||||
|
- `APP_API_TOKEN`
|
||||||
|
- Any variable whose name begines with the `DAPR_` prefix
|
||||||
|
|
||||||
## Related Links
|
## Related Links
|
||||||
- [Secrets building block]({{< ref secrets >}})
|
- [Secrets building block]({{< ref secrets >}})
|
||||||
- [How-To: Retrieve a secret]({{< ref "howto-secrets.md" >}})
|
- [How-To: Retrieve a secret]({{< ref "howto-secrets.md" >}})
|
||||||
|
|
Loading…
Reference in New Issue