Skip to content

Commit db8926a

Browse files
authored
[DataFactory]Add support OAuth2ClientCredential auth in RestSevice (#19247)
* [DataFactory]Added privateEndpoint Into PrivateLinkConnectionApprovalRequest * update * [DataFactory]Add support OAuth2ClientCredential auth in RestSevice * merge
1 parent 8c3b3aa commit db8926a

File tree

3 files changed

+66
-3
lines changed

3 files changed

+66
-3
lines changed

specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/LinkedService.json

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2909,7 +2909,8 @@
29092909
"Anonymous",
29102910
"Basic",
29112911
"AadServicePrincipal",
2912-
"ManagedServiceIdentity"
2912+
"ManagedServiceIdentity",
2913+
"OAuth2ClientCredential"
29132914
],
29142915
"x-ms-enum": {
29152916
"name": "RestServiceAuthenticationType",
@@ -2955,6 +2956,26 @@
29552956
"credential": {
29562957
"$ref": "../datafactory.json#/definitions/CredentialReference",
29572958
"description": "The credential reference containing authentication information."
2959+
},
2960+
"clientId": {
2961+
"type": "object",
2962+
"description": "The client ID associated with your application. Type: string (or Expression with resultType string)."
2963+
},
2964+
"clientSecret": {
2965+
"description": "The client secret associated with your application.",
2966+
"$ref": "../datafactory.json#/definitions/SecretBase"
2967+
},
2968+
"tokenEndpoint": {
2969+
"type": "object",
2970+
"description": "The token endpoint of the authorization server to acquire access token. Type: string (or Expression with resultType string)."
2971+
},
2972+
"resource": {
2973+
"type": "object",
2974+
"description": "The target service or resource to which the access will be requested. Type: string (or Expression with resultType string)."
2975+
},
2976+
"scope": {
2977+
"type": "object",
2978+
"description": "The scope of the access required. It describes what kind of access will be requested. Type: string (or Expression with resultType string)."
29582979
}
29592980
},
29602981
"required": [

specification/synapse/data-plane/Microsoft.Synapse/preview/2021-06-01-preview/entityTypes/LinkedService.json

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2729,7 +2729,8 @@
27292729
"Anonymous",
27302730
"Basic",
27312731
"AadServicePrincipal",
2732-
"ManagedServiceIdentity"
2732+
"ManagedServiceIdentity",
2733+
"OAuth2ClientCredential"
27332734
],
27342735
"x-ms-enum": {
27352736
"name": "RestServiceAuthenticationType",
@@ -2767,6 +2768,26 @@
27672768
"encryptedCredential": {
27682769
"description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).",
27692770
"type": "object"
2771+
},
2772+
"clientId": {
2773+
"type": "object",
2774+
"description": "The client ID associated with your application. Type: string (or Expression with resultType string)."
2775+
},
2776+
"clientSecret": {
2777+
"description": "The client secret associated with your application.",
2778+
"$ref": "../artifacts.json#/definitions/SecretBase"
2779+
},
2780+
"tokenEndpoint": {
2781+
"type": "object",
2782+
"description": "The token endpoint of the authorization server to acquire access token. Type: string (or Expression with resultType string)."
2783+
},
2784+
"resource": {
2785+
"type": "object",
2786+
"description": "The target service or resource to which the access will be requested. Type: string (or Expression with resultType string)."
2787+
},
2788+
"scope": {
2789+
"type": "object",
2790+
"description": "The scope of the access required. It describes what kind of access will be requested. Type: string (or Expression with resultType string)."
27702791
}
27712792
},
27722793
"required": [

specification/synapse/data-plane/Microsoft.Synapse/stable/2020-12-01/entityTypes/LinkedService.json

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2729,7 +2729,8 @@
27292729
"Anonymous",
27302730
"Basic",
27312731
"AadServicePrincipal",
2732-
"ManagedServiceIdentity"
2732+
"ManagedServiceIdentity",
2733+
"OAuth2ClientCredential"
27332734
],
27342735
"x-ms-enum": {
27352736
"name": "RestServiceAuthenticationType",
@@ -2767,6 +2768,26 @@
27672768
"encryptedCredential": {
27682769
"description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).",
27692770
"type": "object"
2771+
},
2772+
"clientId": {
2773+
"type": "object",
2774+
"description": "The client ID associated with your application. Type: string (or Expression with resultType string)."
2775+
},
2776+
"clientSecret": {
2777+
"description": "The client secret associated with your application.",
2778+
"$ref": "../artifacts.json#/definitions/SecretBase"
2779+
},
2780+
"tokenEndpoint": {
2781+
"type": "object",
2782+
"description": "The token endpoint of the authorization server to acquire access token. Type: string (or Expression with resultType string)."
2783+
},
2784+
"resource": {
2785+
"type": "object",
2786+
"description": "The target service or resource to which the access will be requested. Type: string (or Expression with resultType string)."
2787+
},
2788+
"scope": {
2789+
"type": "object",
2790+
"description": "The scope of the access required. It describes what kind of access will be requested. Type: string (or Expression with resultType string)."
27702791
}
27712792
},
27722793
"required": [

0 commit comments

Comments
 (0)