Skip to content
| Marketplace
Sign in
Azure DevOps>Azure Pipelines>Get CosmosDB Connection String
Get CosmosDB Connection String

Get CosmosDB Connection String

Ray Lomax

|
1 install
| (0) | Free
Get CosmosDB Connection String.
Get it free

Get CosmosDB connection string

This 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.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft