mongodbatlas.getLdapConfiguration
Explore with Pulumi AI
mongodbatlas.LdapConfiguration
describes a LDAP Configuration.
NOTE: Groups and projects are synonymous terms. You may find group_id in the official documentation.
Using getLdapConfiguration
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getLdapConfiguration(args: GetLdapConfigurationArgs, opts?: InvokeOptions): Promise<GetLdapConfigurationResult>
function getLdapConfigurationOutput(args: GetLdapConfigurationOutputArgs, opts?: InvokeOptions): Output<GetLdapConfigurationResult>
def get_ldap_configuration(project_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetLdapConfigurationResult
def get_ldap_configuration_output(project_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetLdapConfigurationResult]
func LookupLdapConfiguration(ctx *Context, args *LookupLdapConfigurationArgs, opts ...InvokeOption) (*LookupLdapConfigurationResult, error)
func LookupLdapConfigurationOutput(ctx *Context, args *LookupLdapConfigurationOutputArgs, opts ...InvokeOption) LookupLdapConfigurationResultOutput
> Note: This function is named LookupLdapConfiguration
in the Go SDK.
public static class GetLdapConfiguration
{
public static Task<GetLdapConfigurationResult> InvokeAsync(GetLdapConfigurationArgs args, InvokeOptions? opts = null)
public static Output<GetLdapConfigurationResult> Invoke(GetLdapConfigurationInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetLdapConfigurationResult> getLdapConfiguration(GetLdapConfigurationArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: mongodbatlas:index/getLdapConfiguration:getLdapConfiguration
arguments:
# arguments dictionary
The following arguments are supported:
- Project
Id string Identifier for the Atlas project associated with the LDAP over TLS/SSL configuration.
- Project
Id string Identifier for the Atlas project associated with the LDAP over TLS/SSL configuration.
- project
Id String Identifier for the Atlas project associated with the LDAP over TLS/SSL configuration.
- project
Id string Identifier for the Atlas project associated with the LDAP over TLS/SSL configuration.
- project_
id str Identifier for the Atlas project associated with the LDAP over TLS/SSL configuration.
- project
Id String Identifier for the Atlas project associated with the LDAP over TLS/SSL configuration.
getLdapConfiguration Result
The following output properties are available:
- Authentication
Enabled bool Specifies whether user authentication with LDAP is enabled.
- bool
Specifies whether user authorization with LDAP is enabled.
- Authz
Query stringTemplate An LDAP query template that Atlas executes to obtain the LDAP groups to which the authenticated user belongs.
- Bind
Password string The password used to authenticate the
bind_username
.- Bind
Username string The user DN that Atlas uses to connect to the LDAP server.
- Ca
Certificate string CA certificate used to verify the identify of the LDAP server.
- Hostname string
(Required) The hostname or IP address of the LDAP server.
- Id string
The provider-assigned unique ID for this managed resource.
- Port int
The port to which the LDAP server listens for client connections.
- Project
Id string - User
To List<GetDn Mappings Ldap Configuration User To Dn Mapping> Maps an LDAP username for authentication to an LDAP Distinguished Name (DN).
user_to_dn_mapping.0.match
- A regular expression to match against a provided LDAP username.user_to_dn_mapping.0.substitution
- An LDAP Distinguished Name (DN) formatting template that converts the LDAP name matched by thematch
regular expression into an LDAP Distinguished Name.user_to_dn_mapping.0.ldap_query
- An LDAP query formatting template that inserts the LDAP name matched by thematch
regular expression into an LDAP query URI as specified by RFC 4515 and RFC 4516.
- Authentication
Enabled bool Specifies whether user authentication with LDAP is enabled.
- bool
Specifies whether user authorization with LDAP is enabled.
- Authz
Query stringTemplate An LDAP query template that Atlas executes to obtain the LDAP groups to which the authenticated user belongs.
- Bind
Password string The password used to authenticate the
bind_username
.- Bind
Username string The user DN that Atlas uses to connect to the LDAP server.
- Ca
Certificate string CA certificate used to verify the identify of the LDAP server.
- Hostname string
(Required) The hostname or IP address of the LDAP server.
- Id string
The provider-assigned unique ID for this managed resource.
- Port int
The port to which the LDAP server listens for client connections.
- Project
Id string - User
To []GetDn Mappings Ldap Configuration User To Dn Mapping Maps an LDAP username for authentication to an LDAP Distinguished Name (DN).
user_to_dn_mapping.0.match
- A regular expression to match against a provided LDAP username.user_to_dn_mapping.0.substitution
- An LDAP Distinguished Name (DN) formatting template that converts the LDAP name matched by thematch
regular expression into an LDAP Distinguished Name.user_to_dn_mapping.0.ldap_query
- An LDAP query formatting template that inserts the LDAP name matched by thematch
regular expression into an LDAP query URI as specified by RFC 4515 and RFC 4516.
- authentication
Enabled Boolean Specifies whether user authentication with LDAP is enabled.
- Boolean
Specifies whether user authorization with LDAP is enabled.
- authz
Query StringTemplate An LDAP query template that Atlas executes to obtain the LDAP groups to which the authenticated user belongs.
- bind
Password String The password used to authenticate the
bind_username
.- bind
Username String The user DN that Atlas uses to connect to the LDAP server.
- ca
Certificate String CA certificate used to verify the identify of the LDAP server.
- hostname String
(Required) The hostname or IP address of the LDAP server.
- id String
The provider-assigned unique ID for this managed resource.
- port Integer
The port to which the LDAP server listens for client connections.
- project
Id String - user
To List<GetDn Mappings Ldap Configuration User To Dn Mapping> Maps an LDAP username for authentication to an LDAP Distinguished Name (DN).
user_to_dn_mapping.0.match
- A regular expression to match against a provided LDAP username.user_to_dn_mapping.0.substitution
- An LDAP Distinguished Name (DN) formatting template that converts the LDAP name matched by thematch
regular expression into an LDAP Distinguished Name.user_to_dn_mapping.0.ldap_query
- An LDAP query formatting template that inserts the LDAP name matched by thematch
regular expression into an LDAP query URI as specified by RFC 4515 and RFC 4516.
- authentication
Enabled boolean Specifies whether user authentication with LDAP is enabled.
- boolean
Specifies whether user authorization with LDAP is enabled.
- authz
Query stringTemplate An LDAP query template that Atlas executes to obtain the LDAP groups to which the authenticated user belongs.
- bind
Password string The password used to authenticate the
bind_username
.- bind
Username string The user DN that Atlas uses to connect to the LDAP server.
- ca
Certificate string CA certificate used to verify the identify of the LDAP server.
- hostname string
(Required) The hostname or IP address of the LDAP server.
- id string
The provider-assigned unique ID for this managed resource.
- port number
The port to which the LDAP server listens for client connections.
- project
Id string - user
To GetDn Mappings Ldap Configuration User To Dn Mapping[] Maps an LDAP username for authentication to an LDAP Distinguished Name (DN).
user_to_dn_mapping.0.match
- A regular expression to match against a provided LDAP username.user_to_dn_mapping.0.substitution
- An LDAP Distinguished Name (DN) formatting template that converts the LDAP name matched by thematch
regular expression into an LDAP Distinguished Name.user_to_dn_mapping.0.ldap_query
- An LDAP query formatting template that inserts the LDAP name matched by thematch
regular expression into an LDAP query URI as specified by RFC 4515 and RFC 4516.
- authentication_
enabled bool Specifies whether user authentication with LDAP is enabled.
- bool
Specifies whether user authorization with LDAP is enabled.
- authz_
query_ strtemplate An LDAP query template that Atlas executes to obtain the LDAP groups to which the authenticated user belongs.
- bind_
password str The password used to authenticate the
bind_username
.- bind_
username str The user DN that Atlas uses to connect to the LDAP server.
- ca_
certificate str CA certificate used to verify the identify of the LDAP server.
- hostname str
(Required) The hostname or IP address of the LDAP server.
- id str
The provider-assigned unique ID for this managed resource.
- port int
The port to which the LDAP server listens for client connections.
- project_
id str - user_
to_ Sequence[Getdn_ mappings Ldap Configuration User To Dn Mapping] Maps an LDAP username for authentication to an LDAP Distinguished Name (DN).
user_to_dn_mapping.0.match
- A regular expression to match against a provided LDAP username.user_to_dn_mapping.0.substitution
- An LDAP Distinguished Name (DN) formatting template that converts the LDAP name matched by thematch
regular expression into an LDAP Distinguished Name.user_to_dn_mapping.0.ldap_query
- An LDAP query formatting template that inserts the LDAP name matched by thematch
regular expression into an LDAP query URI as specified by RFC 4515 and RFC 4516.
- authentication
Enabled Boolean Specifies whether user authentication with LDAP is enabled.
- Boolean
Specifies whether user authorization with LDAP is enabled.
- authz
Query StringTemplate An LDAP query template that Atlas executes to obtain the LDAP groups to which the authenticated user belongs.
- bind
Password String The password used to authenticate the
bind_username
.- bind
Username String The user DN that Atlas uses to connect to the LDAP server.
- ca
Certificate String CA certificate used to verify the identify of the LDAP server.
- hostname String
(Required) The hostname or IP address of the LDAP server.
- id String
The provider-assigned unique ID for this managed resource.
- port Number
The port to which the LDAP server listens for client connections.
- project
Id String - user
To List<Property Map>Dn Mappings Maps an LDAP username for authentication to an LDAP Distinguished Name (DN).
user_to_dn_mapping.0.match
- A regular expression to match against a provided LDAP username.user_to_dn_mapping.0.substitution
- An LDAP Distinguished Name (DN) formatting template that converts the LDAP name matched by thematch
regular expression into an LDAP Distinguished Name.user_to_dn_mapping.0.ldap_query
- An LDAP query formatting template that inserts the LDAP name matched by thematch
regular expression into an LDAP query URI as specified by RFC 4515 and RFC 4516.
Supporting Types
GetLdapConfigurationUserToDnMapping
- Ldap
Query string - Match string
- Substitution string
- Ldap
Query string - Match string
- Substitution string
- ldap
Query String - match String
- substitution String
- ldap
Query string - match string
- substitution string
- ldap_
query str - match str
- substitution str
- ldap
Query String - match String
- substitution String
Package Details
- Repository
- MongoDB Atlas pulumi/pulumi-mongodbatlas
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
mongodbatlas
Terraform Provider.