Azure Cosmos DB Service
Database Enumeration:
$apiVersion = "API_VERSION"
$resourceGroupName = "RESOURCE_GROUP_NAME"
$databaseAccountName = "DB_ACCOUNT_NAME"
$databaseUri = "DATABASE_URI"
$dbResponse = Invoke-RestMethod -Uri $databaseUri -Method Get -Headers $headers
$dbResponseConnection to the Cosmos DB using a connection string or with username/password:
Example Key can be:
AccountKey=SECRET_KEY==;TableEndpoint=https://DATABASE_NAME.table.cosmos.azure.com:443/;Last updated