你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

AuthenticationMode type

Mongo 集群支持的身份验证模式。
KnownAuthenticationMode 可与 AuthenticationMode 互换使用,此枚举包含服务支持的已知值。

服务支持的已知值

NativeAuth:使用用户名和密码的本机 mongo 身份验证模式,身份验证机制为“SCRAM-SHA-256”。
MicrosoftEntraID:使用分配给群集和身份验证机制“MONGODB-OIDC”的 Entra 用户的 Microsoft Entra ID 身份验证模式。

type AuthenticationMode = string