Get CosmosDB connection stringThis tool allows you to obtain the CosmosDB connection string part of an Azure pipeline (Classic or Yml) Using this control:Parameters: subscriptionName - Subscription name we wish to obtain our CosmosDB connection string. resourceGroup - The resource group that contains the CosmosDB database. cosmosDBName - The name of the CosmosDB. If successful you should now have a connection string associated with 'CDB_Connection' environment variable. This variable which can be referenced as follows $(CDB_Connection) in any corisponding task within your pipeline. |