Cmdlets for Azure Cosmos DB

Build 24.0.9060

AuthScheme Parameter (Connect-CosmosDB Cmdlet)

The type of authentication to use when connecting to Azure Cosmos DB.

Syntax

Connect-CosmosDB -AuthScheme string

Possible Values

AccountKey, AzureAD, AzureServicePrincipal, AzureServicePrincipalCert

Data Type

cstr

Default Value

"AccountKey"

Remarks

  • AccountKey: Set this to perform authentication with AccountKey and AccountEndpoint.
  • AzureAD: Set this to perform Azure Active Directory OAuth authentication.
  • AzureServicePrincipal: Set this to authenticate as an Azure Service Principal using a Client Secret.
  • AzureServicePrincipalCert: Set this to authenticate as an Azure Service Principal using a Certificate.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060