The REST API Connection configuration guidelines can be found here.

Azure Identity Connector's Connection type must always be specified as "azure-identity".

The Properties specific to the Azure Identity Connector's Connection are described below.


Azure Identity Connection Properties


FieldRequiredDefaultMultipleNotesExample
propertiesYes-NoConfiguration object
tenantDomainYes-NoThe Azure tenant domain to be used."myTenantDomain.onmicrosoft.com"
useProxyNofalseNoEnables the use of a proxy to get access to Azure endpoints.true
proxyHostNo-NoThe address of the proxy to be used."http://myproxy.mycompany.com"
proxyPortNo-NoThe port of the proxy to be used.9027
socketTimeoutNo"60000ms"NoSocket timeout value."120s"
connectTimeoutNo"60000ms"NoConnection timeout value"120s"
connectionRequestTimeoutNo"60000ms"NoConnection request timeout value"120s"
maxConnectionsNo150NoMaximum number of connection to the different Azure endpoints used.200
maxConnectionsPerRouteNo15NoMaximum number of connection to a specific Azure endpoint.20

Create example


POST /aspire/_api/connections
{
    "credential":"aa1bc268-8b54-4ea3-b43d-a15b665d04de",
    "type": "azure-identity",
    "description": "Azure Identity Connection Test",
    "properties": {
		"tenantDomain":"myTenantDomain.onmicrosoft.com",
        "useProxy": "false",
        "socketTimeout" : "60s",
        "connectTimeout" : "60s",
        "connectionRequestTimeout" : "60s",
        "maxConnections" : "100",
        "maxConnectionsPerRoute" : "10"
    }
}



  • No labels