AccountKey Parameter (Connect-CosmosDB Cmdlet)
A master key token or a resource token for connecting to the Azure Cosmos DB REST API.
Syntax
Connect-CosmosDB -AccountKey string
Data Type
cstr
Default Value
""
Remarks
In the Azure portal, navigate to the Cosmos DB service and select your Azure Cosmos DB account. From the resource menu, go to the Keys page. Find the PRIMARY KEY value and set Token to this value.
This is a required parameter.