Skip to content

Commit 79324c4

Browse files
authored
calling out secret management tips
1 parent 98ef321 commit 79324c4

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

articles/azure-functions/durable/durable-functions-best-practice-reference.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,13 @@ A single worker instance can execute multiple work items concurrently to increas
7575

7676
As with anything performance related, the ideal concurrency settings and architechture of your app ultimately depends on your application's workload. Therefore, it's recommended that users to invest in a performance testing harness that simulates their expected workload and to use it to run performance and reliability experiments for their app.
7777

78+
### Avoid communicating secrets through inputs, outputs, or exceptions
79+
80+
Inputs and outputs (including exceptions) to and from Durable Functions APIs are durably stored in your [storage provider of choice](./durable-functions-storage-providers.md). Depending on how you've configured permissions to those storage resources, that could mean anyone with read access to those storage resources may be able to obtain those secrets. Therefore, if you need to obtain some secret, we recommend you materialize through something like the KeyVault SDK instead of directly passing through the Durable Functions APIs.
81+
82+
> [!NOTE]
83+
> We also recommend against logging data containing secrets as anyone with read access to your logs, like in Application Insights, would be able to obtain that data.
84+
7885
## Diagnostic tools
7986

8087
There are several tools available to help you diagnose problems.

0 commit comments

Comments
 (0)