You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: mongodbatlas/ldap_configurations.go
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -56,15 +56,15 @@ type LDAPConfiguration struct {
56
56
57
57
// LDAP specifies an LDAP configuration for a Atlas project.
58
58
typeLDAPstruct {
59
-
AuthenticationEnabledbool`json:"authenticationEnabled,omitempty"`// Specifies whether user authentication with LDAP is enabled.
60
-
AuthorizationEnabledbool`json:"authorizationEnabled,omitempty"`// The current status of the LDAP over TLS/SSL configuration.
61
-
Hostnamestring`json:"hostname,omitempty"`// The hostname or IP address of the LDAP server
62
-
Portint`json:"port,omitempty"`// The port to which the LDAP server listens for client connections.
63
-
BindUsernamestring`json:"bindUsername,omitempty"`// The user DN that Atlas uses to connect to the LDAP server.
59
+
AuthenticationEnabled*bool`json:"authenticationEnabled,omitempty"`// Specifies whether user authentication with LDAP is enabled.
60
+
AuthorizationEnabled*bool`json:"authorizationEnabled,omitempty"`// The current status of the LDAP over TLS/SSL configuration.
61
+
Hostname*string`json:"hostname,omitempty"`// The hostname or IP address of the LDAP server
62
+
Port*int`json:"port,omitempty"`// The port to which the LDAP server listens for client connections.
63
+
BindUsername*string`json:"bindUsername,omitempty"`// The user DN that Atlas uses to connect to the LDAP server.
64
64
UserToDNMapping []*UserToDNMapping`json:"userToDNMapping,omitempty"`// Maps an LDAP username for authentication to an LDAP Distinguished Name (DN).
65
-
BindPasswordstring`json:"bindPassword,omitempty"`// The password used to authenticate the bindUsername.
66
-
CaCertificatestring`json:"caCertificate,omitempty"`// CA certificate used to verify the identify of the LDAP server.
67
-
AuthzQueryTemplatestring`json:"authzQueryTemplate,omitempty"`// An LDAP query template that Atlas executes to obtain the LDAP groups to which the authenticated user belongs.
65
+
BindPassword*string`json:"bindPassword,omitempty"`// The password used to authenticate the bindUsername.
66
+
CaCertificate*string`json:"caCertificate,omitempty"`// CA certificate used to verify the identity of the LDAP server.
67
+
AuthzQueryTemplate*string`json:"authzQueryTemplate,omitempty"`// An LDAP query template that Atlas executes to obtain the LDAP groups to which the authenticated user belongs.
68
68
}
69
69
70
70
// UserToDNMapping maps an LDAP username for authentication to an LDAP Distinguished Name (DN). Each document contains a match regular expression and either a substitution or ldapQuery template used to transform the LDAP username extracted from the regular expression.
0 commit comments