mirror of https://github.com/dapr/docs.git
Update daprdocs/content/en/operations/components/component-scopes.md
Co-authored-by: Hannah Hunter <94493363+hhunter-ms@users.noreply.github.com>
This commit is contained in:
parent
e603307edc
commit
013890ec13
|
@ -79,7 +79,7 @@ See [Configure Pub/Sub components with multiple namespaces]({{< ref "pubsub-name
|
|||
{{% /alert %}}
|
||||
|
||||
## Application access to components with scopes
|
||||
Developers and operators might want to limit access for one database to a certain application, or a specific set of applications.
|
||||
Developers and operators might want to limit access to one database from a certain application, or a specific set of applications.
|
||||
To achieve this, Dapr allows you to specify `scopes` on the component YAML. Application scopes added to a component limit only the applications with specific IDs to be able to use the component.
|
||||
|
||||
The following example shows how to give access to two Dapr enabled apps, with the app IDs of `app1` and `app2` to the Redis component named `statestore` which itself is in the `production` namespace
|
||||
|
|
Loading…
Reference in New Issue