Skip to content

Commit

Permalink
ApiManagement - certificates in backends (#12131)
Browse files Browse the repository at this point in the history
* ApiManagement - certificates in backends

* ApiManagement - certificates in backends small fix

* ApiManagement - certificates in backends small fix 2

* ApiManagement - certificates in backends small fix 3

Co-authored-by: vfedonkin <[email protected]>
  • Loading branch information
vfedonkin and vfedonkin authored Jan 13, 2021
1 parent f1b3d4c commit 0955eca
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1450,13 +1450,21 @@
},
"BackendCredentialsContract": {
"properties": {
"certificateIds": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 32,
"description": "List of Client Certificate Ids."
},
"certificate": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 32,
"description": "List of Client Certificate Thumbprint."
"description": "List of Client Certificate Thumbprints. Will be ignored if certificatesIds are provided."
},
"query": {
"type": "object",
Expand Down Expand Up @@ -1547,8 +1555,12 @@
},
"BackendServiceFabricClusterProperties": {
"properties": {
"clientCertificateId": {
"description": "The client certificate id for the management endpoint.",
"type": "string"
},
"clientCertificatethumbprint": {
"description": "The client certificate thumbprint for the management endpoint.",
"description": "The client certificate thumbprint for the management endpoint. Will be ignored if certificatesIds are provided",
"type": "string"
},
"maxPartitionResolutionRetries": {
Expand Down Expand Up @@ -1579,8 +1591,7 @@
}
},
"required": [
"managementEndpoints",
"clientCertificatethumbprint"
"managementEndpoints"
],
"description": "Properties of the Service Fabric Type Backend."
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"managementEndpoints": [
"https://somecluster.com"
],
"clientCertificatethumbprint": "EBA029198AA3E76EF0D70482626E5BCF148594A6",
"clientCertificateId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/certificates/cert1",
"serverX509Names": [
{
"name": "ServerCommonName1",
Expand Down Expand Up @@ -43,7 +43,7 @@
"managementEndpoints": [
"https://somecluster.com"
],
"clientCertificatethumbprint": "EBA029198AA3E76EF0D70482626E5BCF148594A6",
"clientCertificateId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/certificates/cert1",
"serverX509Names": [
{
"name": "ServerCommonName1",
Expand All @@ -70,7 +70,7 @@
"managementEndpoints": [
"https://somecluster.com"
],
"clientCertificatethumbprint": "EBA029198AA3E76EF0D70482626E5BCF148594A6",
"clientCertificateId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/certificates/cert1",
"serverX509Names": [
{
"name": "ServerCommonName1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"managementEndpoints": [
"https://somecluster.com"
],
"clientCertificatethumbprint": "EBA029198AA3E76EF0D70482626E5BCF148594A6",
"clientCertificateId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/certificates/cert1",
"serverX509Names": [
{
"name": "ServerCommonName1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"managementEndpoints": [
"https://somecluster.com"
],
"clientCertificatethumbprint": "EBA029198AA3E76EF0D70482626E5BCF148594A6",
"clientCertificateId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/certificates/cert1",
"serverX509Names": [
{
"name": "ServerCommonName1",
Expand Down

0 comments on commit 0955eca

Please sign in to comment.