Skip to content

Commit

Permalink
Update External Durable Client ReadMe.md (#2865)
Browse files Browse the repository at this point in the history
* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* add \
  • Loading branch information
nytian authored and bachuv committed Jul 9, 2024
1 parent c51cd2b commit 2d50e2d
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions samples/durable-client-managed-identity/functions-app/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,22 @@ This project demonstrates an Azure Function App that invokes a Durable Function
- Storage Table Data Contributor

3. Link your storage account to your Function App by adding either of these two details to your `local.settings.json` file (for local development) or as environment variables in your Function App settings in Azure.
- AzureWebJobsStorage__accountName
- AzureWebJobsStorage__blobServiceUri, AzureWebJobsStorage__queueServiceUri and AzureWebJobsStorage__tableServiceUri
- \<StorageConnectionName\>__accountName
- \<StorageConnectionName\>__blobServiceUri, \<StorageConnectionName\>__queueServiceUri and \<StorageConnectionName\>__tableServiceUri

4. Add the required identity information to your Functions App configuration.
- system-assigned identity: nothing needs to be provided.
- user-assigned identity:
- AzureWebJobsStorage__credential: managedidentity
- AzureWebJobsStorage__clientId
- \<StorageConnectionName\>__credential: managedidentity
- \<StorageConnectionName\>__clientId
- client secret application:
- AzureWebJobsStorage__clientId
- AzureWebJobsStorage__ClientSecret
- AzureWebJobsStorage__tenantId
- \<StorageConnectionName\>__clientId
- \<StorageConnectionName\>__ClientSecret
- \<StorageConnectionName\>__tenantId


## Notes

- The Azure Functions runtime requires a storage account to start, with the default connection name `Storage`.
- The Durable Client injected also requires a storage account, with the same default connection name `Storage`. However, you can use a custom connection name for a separate storage account as runtime for the durable client. For example, in this sample we use custom name `ClientStorage`.

- To provide the necessary connection information, use the format `<StorageConnectionName>__<SettingName>`, as shown in local.settings.json. For example, if you want to specify the accountName, then add the setting `<StorageConnectionName>__accountName`.

0 comments on commit 2d50e2d

Please sign in to comment.