Skip to content

Commit d93784d

Browse files
Merge pull request #280291 from jonburchel/patch-43
Add service principal authentication
2 parents dc22778 + b0928c5 commit d93784d

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

articles/data-factory/control-flow-web-activity.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,23 @@ Specify the resource uri for which the access token will be requested using the
160160
> [!NOTE]
161161
> If your data factory or Synapse workspace is configured with a git repository, you must store your credentials in Azure Key Vault to use basic or client certificate authentication. The service does not store passwords in git.
162162
163+
### Service principal
164+
165+
Specify the tenant ID, service principal ID, and service principal key, using a secure string for the client secret.
166+
167+
```json
168+
"authentication": {
169+
"type": "ServicePrincipal",
170+
"tenant": "your_tenant_id",
171+
"servicePrincipalId": "your_client_id",
172+
"servicePrincipalKey": {
173+
"type": "SecureString",
174+
"value": "your_client_secret"
175+
},
176+
"resource": "https://management.azure.com/"
177+
}
178+
```
179+
163180
## Request payload schema
164181
When you use the POST/PUT method, the body property represents the payload that is sent to the endpoint. You can pass linked services and datasets as part of the payload. Here is the schema for the payload:
165182

0 commit comments

Comments
 (0)