A previously created credential that will be used to authenticate to Cosmos DB.

There are three supported credential types:

Azure Managed Identity is the most secure as credentials are not exposed directly to the user.

See Configure role-based access control with Azure Active Directory for your Azure Cosmos DB account for information on configuring access for service principals and managed identities.