Skip to content

Commit a036128

Browse files
committed
update dapr component example
Signed-off-by: Hannah Hunter <[email protected]>
1 parent 7419030 commit a036128

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

articles/container-apps/dapr-components.md

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ author: hhunter-ms
66
ms.service: azure-container-apps
77
ms.custom: build-2023
88
ms.topic: conceptual
9-
ms.date: 08/02/2024
9+
ms.date: 09/23/2024
1010
---
1111

1212
# Dapr components in Azure Container Apps
@@ -154,15 +154,23 @@ scopes:
154154

155155
#### Referencing Dapr secret store components
156156

157-
Once you [create a Dapr secret store using one of the previous approaches](#creating-a-dapr-secret-store-component), you can reference that secret store from other Dapr components in the same environment. In the following example, the `secretStoreComponent` field is populated with the name of the secret store specified in the previous examples, where the `sb-root-connectionstring` is stored.
157+
Once you [create a Dapr secret store using one of the previous approaches](#creating-a-dapr-secret-store-component), you can reference that secret store from other Dapr components in the same environment.
158158

159159
```yaml
160160
componentType: pubsub.azure.servicebus.queue
161161
version: v1
162-
secretStoreComponent: "my-secret-store"
162+
secretStoreComponent: "[your_secret_store_name]"
163163
metadata:
164-
- name: connectionString
165-
secretRef: sb-root-connectionstring
164+
- name: namespaceName
165+
# Required when using Azure Authentication.
166+
# Must be a fully-qualified domain name
167+
value: "[your_servicebus_namespace.servicebus.windows.net]"
168+
- name: azureTenantId
169+
value: "[your_tenant_id]"
170+
- name: azureClientId
171+
value: "[your_client_id]"
172+
- name: azureClientSecret
173+
secretRef: azClientSecret
166174
scopes:
167175
- publisher-app
168176
- subscriber-app

0 commit comments

Comments
 (0)