Skip to content

Commit f049a05

Browse files
Update how-to-test-secured-endpoints.md
YAML updates
1 parent 897df93 commit f049a05

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

articles/load-testing/how-to-test-secured-endpoints.md

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -285,13 +285,10 @@ The following code snippet gives an example of how to configure a managed identi
285285
loadtestConfigFile: 'SampleApp.yaml'
286286
loadtestResource: 'MyTest'
287287
resourceGroup: 'loadtests-rg'
288-
secrets: |
289-
[
290-
{
291-
"name": "appToken",
292-
"value": "${{ secrets.APP_TOKEN }}"
293-
}
294-
]
288+
referenceIdentities:
289+
- kind: "Engine"
290+
type: "user-assigned"
291+
identity: /subscriptions/abcdef01-2345-6789-0abc-def012345678/resourceGroups/sample-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/sample-identity
295292
```
296293

297294
# [Azure Pipelines](#tab/pipelines)
@@ -308,7 +305,7 @@ The following code snippet gives an example of how to configure a managed identi
308305
loadTestResource: 'MyTest'
309306
resourceGroup: 'loadtests-rg'
310307
referenceIdentities:
311-
- kind: "Authentication"
308+
- kind: "Engine"
312309
type: "user-assigned"
313310
identity: /subscriptions/abcdef01-2345-6789-0abc-def012345678/resourceGroups/sample-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/sample-identity
314311
```

0 commit comments

Comments
 (0)