mongodbatlas.LdapVerify
Explore with Pulumi AI
mongodbatlas.LdapVerify
provides an LDAP Verify resource. This allows a a verification of an LDAP configuration over TLS for an Atlas project. Atlas retains only the most recent request for each project.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as mongodbatlas from "@pulumi/mongodbatlas";
const test = new mongodbatlas.Project("test", {
name: "NAME OF THE PROJECT",
orgId: "ORG ID",
});
const testCluster = new mongodbatlas.Cluster("test", {
projectId: test.id,
name: "NAME OF THE CLUSTER",
providerName: "AWS",
providerRegionName: "US_EAST_2",
providerInstanceSizeName: "M10",
cloudBackup: true,
});
const testLdapVerify = new mongodbatlas.LdapVerify("test", {
projectId: test.id,
hostname: "HOSTNAME",
port: 636,
bindUsername: "USERNAME",
bindPassword: "PASSWORD",
}, {
dependsOn: [testCluster],
});
import pulumi
import pulumi_mongodbatlas as mongodbatlas
test = mongodbatlas.Project("test",
name="NAME OF THE PROJECT",
org_id="ORG ID")
test_cluster = mongodbatlas.Cluster("test",
project_id=test.id,
name="NAME OF THE CLUSTER",
provider_name="AWS",
provider_region_name="US_EAST_2",
provider_instance_size_name="M10",
cloud_backup=True)
test_ldap_verify = mongodbatlas.LdapVerify("test",
project_id=test.id,
hostname="HOSTNAME",
port=636,
bind_username="USERNAME",
bind_password="PASSWORD",
opts=pulumi.ResourceOptions(depends_on=[test_cluster]))
package main
import (
"github.com/pulumi/pulumi-mongodbatlas/sdk/v3/go/mongodbatlas"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
test, err := mongodbatlas.NewProject(ctx, "test", &mongodbatlas.ProjectArgs{
Name: pulumi.String("NAME OF THE PROJECT"),
OrgId: pulumi.String("ORG ID"),
})
if err != nil {
return err
}
testCluster, err := mongodbatlas.NewCluster(ctx, "test", &mongodbatlas.ClusterArgs{
ProjectId: test.ID(),
Name: pulumi.String("NAME OF THE CLUSTER"),
ProviderName: pulumi.String("AWS"),
ProviderRegionName: pulumi.String("US_EAST_2"),
ProviderInstanceSizeName: pulumi.String("M10"),
CloudBackup: pulumi.Bool(true),
})
if err != nil {
return err
}
_, err = mongodbatlas.NewLdapVerify(ctx, "test", &mongodbatlas.LdapVerifyArgs{
ProjectId: test.ID(),
Hostname: pulumi.String("HOSTNAME"),
Port: pulumi.Int(636),
BindUsername: pulumi.String("USERNAME"),
BindPassword: pulumi.String("PASSWORD"),
}, pulumi.DependsOn([]pulumi.Resource{
testCluster,
}))
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Mongodbatlas = Pulumi.Mongodbatlas;
return await Deployment.RunAsync(() =>
{
var test = new Mongodbatlas.Project("test", new()
{
Name = "NAME OF THE PROJECT",
OrgId = "ORG ID",
});
var testCluster = new Mongodbatlas.Cluster("test", new()
{
ProjectId = test.Id,
Name = "NAME OF THE CLUSTER",
ProviderName = "AWS",
ProviderRegionName = "US_EAST_2",
ProviderInstanceSizeName = "M10",
CloudBackup = true,
});
var testLdapVerify = new Mongodbatlas.LdapVerify("test", new()
{
ProjectId = test.Id,
Hostname = "HOSTNAME",
Port = 636,
BindUsername = "USERNAME",
BindPassword = "PASSWORD",
}, new CustomResourceOptions
{
DependsOn =
{
testCluster,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.mongodbatlas.Project;
import com.pulumi.mongodbatlas.ProjectArgs;
import com.pulumi.mongodbatlas.Cluster;
import com.pulumi.mongodbatlas.ClusterArgs;
import com.pulumi.mongodbatlas.LdapVerify;
import com.pulumi.mongodbatlas.LdapVerifyArgs;
import com.pulumi.resources.CustomResourceOptions;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var test = new Project("test", ProjectArgs.builder()
.name("NAME OF THE PROJECT")
.orgId("ORG ID")
.build());
var testCluster = new Cluster("testCluster", ClusterArgs.builder()
.projectId(test.id())
.name("NAME OF THE CLUSTER")
.providerName("AWS")
.providerRegionName("US_EAST_2")
.providerInstanceSizeName("M10")
.cloudBackup(true)
.build());
var testLdapVerify = new LdapVerify("testLdapVerify", LdapVerifyArgs.builder()
.projectId(test.id())
.hostname("HOSTNAME")
.port(636)
.bindUsername("USERNAME")
.bindPassword("PASSWORD")
.build(), CustomResourceOptions.builder()
.dependsOn(testCluster)
.build());
}
}
resources:
test:
type: mongodbatlas:Project
properties:
name: NAME OF THE PROJECT
orgId: ORG ID
testCluster:
type: mongodbatlas:Cluster
name: test
properties:
projectId: ${test.id}
name: NAME OF THE CLUSTER
providerName: AWS
providerRegionName: US_EAST_2
providerInstanceSizeName: M10
cloudBackup: true # enable cloud provider snapshots
testLdapVerify:
type: mongodbatlas:LdapVerify
name: test
properties:
projectId: ${test.id}
hostname: HOSTNAME
port: 636
bindUsername: USERNAME
bindPassword: PASSWORD
options:
dependson:
- ${testCluster}
Create LdapVerify Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new LdapVerify(name: string, args: LdapVerifyArgs, opts?: CustomResourceOptions);
@overload
def LdapVerify(resource_name: str,
args: LdapVerifyArgs,
opts: Optional[ResourceOptions] = None)
@overload
def LdapVerify(resource_name: str,
opts: Optional[ResourceOptions] = None,
bind_password: Optional[str] = None,
bind_username: Optional[str] = None,
hostname: Optional[str] = None,
port: Optional[int] = None,
project_id: Optional[str] = None,
authz_query_template: Optional[str] = None,
ca_certificate: Optional[str] = None)
func NewLdapVerify(ctx *Context, name string, args LdapVerifyArgs, opts ...ResourceOption) (*LdapVerify, error)
public LdapVerify(string name, LdapVerifyArgs args, CustomResourceOptions? opts = null)
public LdapVerify(String name, LdapVerifyArgs args)
public LdapVerify(String name, LdapVerifyArgs args, CustomResourceOptions options)
type: mongodbatlas:LdapVerify
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args LdapVerifyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args LdapVerifyArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args LdapVerifyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args LdapVerifyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args LdapVerifyArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var ldapVerifyResource = new Mongodbatlas.LdapVerify("ldapVerifyResource", new()
{
BindPassword = "string",
BindUsername = "string",
Hostname = "string",
Port = 0,
ProjectId = "string",
AuthzQueryTemplate = "string",
CaCertificate = "string",
});
example, err := mongodbatlas.NewLdapVerify(ctx, "ldapVerifyResource", &mongodbatlas.LdapVerifyArgs{
BindPassword: pulumi.String("string"),
BindUsername: pulumi.String("string"),
Hostname: pulumi.String("string"),
Port: pulumi.Int(0),
ProjectId: pulumi.String("string"),
AuthzQueryTemplate: pulumi.String("string"),
CaCertificate: pulumi.String("string"),
})
var ldapVerifyResource = new LdapVerify("ldapVerifyResource", LdapVerifyArgs.builder()
.bindPassword("string")
.bindUsername("string")
.hostname("string")
.port(0)
.projectId("string")
.authzQueryTemplate("string")
.caCertificate("string")
.build());
ldap_verify_resource = mongodbatlas.LdapVerify("ldapVerifyResource",
bind_password="string",
bind_username="string",
hostname="string",
port=0,
project_id="string",
authz_query_template="string",
ca_certificate="string")
const ldapVerifyResource = new mongodbatlas.LdapVerify("ldapVerifyResource", {
bindPassword: "string",
bindUsername: "string",
hostname: "string",
port: 0,
projectId: "string",
authzQueryTemplate: "string",
caCertificate: "string",
});
type: mongodbatlas:LdapVerify
properties:
authzQueryTemplate: string
bindPassword: string
bindUsername: string
caCertificate: string
hostname: string
port: 0
projectId: string
LdapVerify Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The LdapVerify resource accepts the following input properties:
- 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. Must be the full DN, such as
CN=BindUser,CN=Users,DC=myldapserver,DC=mycompany,DC=com
. - Hostname string
- The hostname or IP address of the LDAP server. The server must be visible to the internet or connected to your Atlas cluster with VPC Peering.
- Port int
- The port to which the LDAP server listens for client connections. Default:
636
- Project
Id string - The unique ID for the project to configure LDAP.
- Authz
Query stringTemplate - An LDAP query template that Atlas executes to obtain the LDAP groups to which the authenticated user belongs. Used only for user authorization. Use the {USER} placeholder in the URL to substitute the authenticated username. The query is relative to the host specified with hostname. The formatting for the query must conform to RFC4515 and RFC 4516. If you do not provide a query template, Atlas attempts to use the default value:
{USER}?memberOf?base
. - Ca
Certificate string - CA certificate used to verify the identify of the LDAP server. Self-signed certificates are allowed.
- 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. Must be the full DN, such as
CN=BindUser,CN=Users,DC=myldapserver,DC=mycompany,DC=com
. - Hostname string
- The hostname or IP address of the LDAP server. The server must be visible to the internet or connected to your Atlas cluster with VPC Peering.
- Port int
- The port to which the LDAP server listens for client connections. Default:
636
- Project
Id string - The unique ID for the project to configure LDAP.
- Authz
Query stringTemplate - An LDAP query template that Atlas executes to obtain the LDAP groups to which the authenticated user belongs. Used only for user authorization. Use the {USER} placeholder in the URL to substitute the authenticated username. The query is relative to the host specified with hostname. The formatting for the query must conform to RFC4515 and RFC 4516. If you do not provide a query template, Atlas attempts to use the default value:
{USER}?memberOf?base
. - Ca
Certificate string - CA certificate used to verify the identify of the LDAP server. Self-signed certificates are allowed.
- 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. Must be the full DN, such as
CN=BindUser,CN=Users,DC=myldapserver,DC=mycompany,DC=com
. - hostname String
- The hostname or IP address of the LDAP server. The server must be visible to the internet or connected to your Atlas cluster with VPC Peering.
- port Integer
- The port to which the LDAP server listens for client connections. Default:
636
- project
Id String - The unique ID for the project to configure LDAP.
- authz
Query StringTemplate - An LDAP query template that Atlas executes to obtain the LDAP groups to which the authenticated user belongs. Used only for user authorization. Use the {USER} placeholder in the URL to substitute the authenticated username. The query is relative to the host specified with hostname. The formatting for the query must conform to RFC4515 and RFC 4516. If you do not provide a query template, Atlas attempts to use the default value:
{USER}?memberOf?base
. - ca
Certificate String - CA certificate used to verify the identify of the LDAP server. Self-signed certificates are allowed.
- 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. Must be the full DN, such as
CN=BindUser,CN=Users,DC=myldapserver,DC=mycompany,DC=com
. - hostname string
- The hostname or IP address of the LDAP server. The server must be visible to the internet or connected to your Atlas cluster with VPC Peering.
- port number
- The port to which the LDAP server listens for client connections. Default:
636
- project
Id string - The unique ID for the project to configure LDAP.
- authz
Query stringTemplate - An LDAP query template that Atlas executes to obtain the LDAP groups to which the authenticated user belongs. Used only for user authorization. Use the {USER} placeholder in the URL to substitute the authenticated username. The query is relative to the host specified with hostname. The formatting for the query must conform to RFC4515 and RFC 4516. If you do not provide a query template, Atlas attempts to use the default value:
{USER}?memberOf?base
. - ca
Certificate string - CA certificate used to verify the identify of the LDAP server. Self-signed certificates are allowed.
- 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. Must be the full DN, such as
CN=BindUser,CN=Users,DC=myldapserver,DC=mycompany,DC=com
. - hostname str
- The hostname or IP address of the LDAP server. The server must be visible to the internet or connected to your Atlas cluster with VPC Peering.
- port int
- The port to which the LDAP server listens for client connections. Default:
636
- project_
id str - The unique ID for the project to configure LDAP.
- authz_
query_ strtemplate - An LDAP query template that Atlas executes to obtain the LDAP groups to which the authenticated user belongs. Used only for user authorization. Use the {USER} placeholder in the URL to substitute the authenticated username. The query is relative to the host specified with hostname. The formatting for the query must conform to RFC4515 and RFC 4516. If you do not provide a query template, Atlas attempts to use the default value:
{USER}?memberOf?base
. - ca_
certificate str - CA certificate used to verify the identify of the LDAP server. Self-signed certificates are allowed.
- 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. Must be the full DN, such as
CN=BindUser,CN=Users,DC=myldapserver,DC=mycompany,DC=com
. - hostname String
- The hostname or IP address of the LDAP server. The server must be visible to the internet or connected to your Atlas cluster with VPC Peering.
- port Number
- The port to which the LDAP server listens for client connections. Default:
636
- project
Id String - The unique ID for the project to configure LDAP.
- authz
Query StringTemplate - An LDAP query template that Atlas executes to obtain the LDAP groups to which the authenticated user belongs. Used only for user authorization. Use the {USER} placeholder in the URL to substitute the authenticated username. The query is relative to the host specified with hostname. The formatting for the query must conform to RFC4515 and RFC 4516. If you do not provide a query template, Atlas attempts to use the default value:
{USER}?memberOf?base
. - ca
Certificate String - CA certificate used to verify the identify of the LDAP server. Self-signed certificates are allowed.
Outputs
All input properties are implicitly available as output properties. Additionally, the LdapVerify resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Links
List<Ldap
Verify Link> - One or more links to sub-resources. The relations in the URLs are explained in the Web Linking Specification.
- Request
Id string - The unique identifier for the request to verify the LDAP over TLS/SSL configuration.
- Status string
- The current status of the LDAP over TLS/SSL configuration. One of the following values:
PENDING
,SUCCESS
, andFAILED
. - Validations
List<Ldap
Verify Validation> - Array of validation messages related to the verification of the provided LDAP over TLS/SSL configuration details. The array contains a document for each test that Atlas runs. Atlas stops running tests after the first failure. The following return values can be seen here: Values
- Id string
- The provider-assigned unique ID for this managed resource.
- Links
[]Ldap
Verify Link - One or more links to sub-resources. The relations in the URLs are explained in the Web Linking Specification.
- Request
Id string - The unique identifier for the request to verify the LDAP over TLS/SSL configuration.
- Status string
- The current status of the LDAP over TLS/SSL configuration. One of the following values:
PENDING
,SUCCESS
, andFAILED
. - Validations
[]Ldap
Verify Validation - Array of validation messages related to the verification of the provided LDAP over TLS/SSL configuration details. The array contains a document for each test that Atlas runs. Atlas stops running tests after the first failure. The following return values can be seen here: Values
- id String
- The provider-assigned unique ID for this managed resource.
- links
List<Ldap
Verify Link> - One or more links to sub-resources. The relations in the URLs are explained in the Web Linking Specification.
- request
Id String - The unique identifier for the request to verify the LDAP over TLS/SSL configuration.
- status String
- The current status of the LDAP over TLS/SSL configuration. One of the following values:
PENDING
,SUCCESS
, andFAILED
. - validations
List<Ldap
Verify Validation> - Array of validation messages related to the verification of the provided LDAP over TLS/SSL configuration details. The array contains a document for each test that Atlas runs. Atlas stops running tests after the first failure. The following return values can be seen here: Values
- id string
- The provider-assigned unique ID for this managed resource.
- links
Ldap
Verify Link[] - One or more links to sub-resources. The relations in the URLs are explained in the Web Linking Specification.
- request
Id string - The unique identifier for the request to verify the LDAP over TLS/SSL configuration.
- status string
- The current status of the LDAP over TLS/SSL configuration. One of the following values:
PENDING
,SUCCESS
, andFAILED
. - validations
Ldap
Verify Validation[] - Array of validation messages related to the verification of the provided LDAP over TLS/SSL configuration details. The array contains a document for each test that Atlas runs. Atlas stops running tests after the first failure. The following return values can be seen here: Values
- id str
- The provider-assigned unique ID for this managed resource.
- links
Sequence[Ldap
Verify Link] - One or more links to sub-resources. The relations in the URLs are explained in the Web Linking Specification.
- request_
id str - The unique identifier for the request to verify the LDAP over TLS/SSL configuration.
- status str
- The current status of the LDAP over TLS/SSL configuration. One of the following values:
PENDING
,SUCCESS
, andFAILED
. - validations
Sequence[Ldap
Verify Validation] - Array of validation messages related to the verification of the provided LDAP over TLS/SSL configuration details. The array contains a document for each test that Atlas runs. Atlas stops running tests after the first failure. The following return values can be seen here: Values
- id String
- The provider-assigned unique ID for this managed resource.
- links List<Property Map>
- One or more links to sub-resources. The relations in the URLs are explained in the Web Linking Specification.
- request
Id String - The unique identifier for the request to verify the LDAP over TLS/SSL configuration.
- status String
- The current status of the LDAP over TLS/SSL configuration. One of the following values:
PENDING
,SUCCESS
, andFAILED
. - validations List<Property Map>
- Array of validation messages related to the verification of the provided LDAP over TLS/SSL configuration details. The array contains a document for each test that Atlas runs. Atlas stops running tests after the first failure. The following return values can be seen here: Values
Look up Existing LdapVerify Resource
Get an existing LdapVerify resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: LdapVerifyState, opts?: CustomResourceOptions): LdapVerify
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
authz_query_template: Optional[str] = None,
bind_password: Optional[str] = None,
bind_username: Optional[str] = None,
ca_certificate: Optional[str] = None,
hostname: Optional[str] = None,
links: Optional[Sequence[LdapVerifyLinkArgs]] = None,
port: Optional[int] = None,
project_id: Optional[str] = None,
request_id: Optional[str] = None,
status: Optional[str] = None,
validations: Optional[Sequence[LdapVerifyValidationArgs]] = None) -> LdapVerify
func GetLdapVerify(ctx *Context, name string, id IDInput, state *LdapVerifyState, opts ...ResourceOption) (*LdapVerify, error)
public static LdapVerify Get(string name, Input<string> id, LdapVerifyState? state, CustomResourceOptions? opts = null)
public static LdapVerify get(String name, Output<String> id, LdapVerifyState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Authz
Query stringTemplate - An LDAP query template that Atlas executes to obtain the LDAP groups to which the authenticated user belongs. Used only for user authorization. Use the {USER} placeholder in the URL to substitute the authenticated username. The query is relative to the host specified with hostname. The formatting for the query must conform to RFC4515 and RFC 4516. If you do not provide a query template, Atlas attempts to use the default value:
{USER}?memberOf?base
. - 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. Must be the full DN, such as
CN=BindUser,CN=Users,DC=myldapserver,DC=mycompany,DC=com
. - Ca
Certificate string - CA certificate used to verify the identify of the LDAP server. Self-signed certificates are allowed.
- Hostname string
- The hostname or IP address of the LDAP server. The server must be visible to the internet or connected to your Atlas cluster with VPC Peering.
- Links
List<Ldap
Verify Link> - One or more links to sub-resources. The relations in the URLs are explained in the Web Linking Specification.
- Port int
- The port to which the LDAP server listens for client connections. Default:
636
- Project
Id string - The unique ID for the project to configure LDAP.
- Request
Id string - The unique identifier for the request to verify the LDAP over TLS/SSL configuration.
- Status string
- The current status of the LDAP over TLS/SSL configuration. One of the following values:
PENDING
,SUCCESS
, andFAILED
. - Validations
List<Ldap
Verify Validation> - Array of validation messages related to the verification of the provided LDAP over TLS/SSL configuration details. The array contains a document for each test that Atlas runs. Atlas stops running tests after the first failure. The following return values can be seen here: Values
- Authz
Query stringTemplate - An LDAP query template that Atlas executes to obtain the LDAP groups to which the authenticated user belongs. Used only for user authorization. Use the {USER} placeholder in the URL to substitute the authenticated username. The query is relative to the host specified with hostname. The formatting for the query must conform to RFC4515 and RFC 4516. If you do not provide a query template, Atlas attempts to use the default value:
{USER}?memberOf?base
. - 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. Must be the full DN, such as
CN=BindUser,CN=Users,DC=myldapserver,DC=mycompany,DC=com
. - Ca
Certificate string - CA certificate used to verify the identify of the LDAP server. Self-signed certificates are allowed.
- Hostname string
- The hostname or IP address of the LDAP server. The server must be visible to the internet or connected to your Atlas cluster with VPC Peering.
- Links
[]Ldap
Verify Link Args - One or more links to sub-resources. The relations in the URLs are explained in the Web Linking Specification.
- Port int
- The port to which the LDAP server listens for client connections. Default:
636
- Project
Id string - The unique ID for the project to configure LDAP.
- Request
Id string - The unique identifier for the request to verify the LDAP over TLS/SSL configuration.
- Status string
- The current status of the LDAP over TLS/SSL configuration. One of the following values:
PENDING
,SUCCESS
, andFAILED
. - Validations
[]Ldap
Verify Validation Args - Array of validation messages related to the verification of the provided LDAP over TLS/SSL configuration details. The array contains a document for each test that Atlas runs. Atlas stops running tests after the first failure. The following return values can be seen here: Values
- authz
Query StringTemplate - An LDAP query template that Atlas executes to obtain the LDAP groups to which the authenticated user belongs. Used only for user authorization. Use the {USER} placeholder in the URL to substitute the authenticated username. The query is relative to the host specified with hostname. The formatting for the query must conform to RFC4515 and RFC 4516. If you do not provide a query template, Atlas attempts to use the default value:
{USER}?memberOf?base
. - 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. Must be the full DN, such as
CN=BindUser,CN=Users,DC=myldapserver,DC=mycompany,DC=com
. - ca
Certificate String - CA certificate used to verify the identify of the LDAP server. Self-signed certificates are allowed.
- hostname String
- The hostname or IP address of the LDAP server. The server must be visible to the internet or connected to your Atlas cluster with VPC Peering.
- links
List<Ldap
Verify Link> - One or more links to sub-resources. The relations in the URLs are explained in the Web Linking Specification.
- port Integer
- The port to which the LDAP server listens for client connections. Default:
636
- project
Id String - The unique ID for the project to configure LDAP.
- request
Id String - The unique identifier for the request to verify the LDAP over TLS/SSL configuration.
- status String
- The current status of the LDAP over TLS/SSL configuration. One of the following values:
PENDING
,SUCCESS
, andFAILED
. - validations
List<Ldap
Verify Validation> - Array of validation messages related to the verification of the provided LDAP over TLS/SSL configuration details. The array contains a document for each test that Atlas runs. Atlas stops running tests after the first failure. The following return values can be seen here: Values
- authz
Query stringTemplate - An LDAP query template that Atlas executes to obtain the LDAP groups to which the authenticated user belongs. Used only for user authorization. Use the {USER} placeholder in the URL to substitute the authenticated username. The query is relative to the host specified with hostname. The formatting for the query must conform to RFC4515 and RFC 4516. If you do not provide a query template, Atlas attempts to use the default value:
{USER}?memberOf?base
. - 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. Must be the full DN, such as
CN=BindUser,CN=Users,DC=myldapserver,DC=mycompany,DC=com
. - ca
Certificate string - CA certificate used to verify the identify of the LDAP server. Self-signed certificates are allowed.
- hostname string
- The hostname or IP address of the LDAP server. The server must be visible to the internet or connected to your Atlas cluster with VPC Peering.
- links
Ldap
Verify Link[] - One or more links to sub-resources. The relations in the URLs are explained in the Web Linking Specification.
- port number
- The port to which the LDAP server listens for client connections. Default:
636
- project
Id string - The unique ID for the project to configure LDAP.
- request
Id string - The unique identifier for the request to verify the LDAP over TLS/SSL configuration.
- status string
- The current status of the LDAP over TLS/SSL configuration. One of the following values:
PENDING
,SUCCESS
, andFAILED
. - validations
Ldap
Verify Validation[] - Array of validation messages related to the verification of the provided LDAP over TLS/SSL configuration details. The array contains a document for each test that Atlas runs. Atlas stops running tests after the first failure. The following return values can be seen here: Values
- authz_
query_ strtemplate - An LDAP query template that Atlas executes to obtain the LDAP groups to which the authenticated user belongs. Used only for user authorization. Use the {USER} placeholder in the URL to substitute the authenticated username. The query is relative to the host specified with hostname. The formatting for the query must conform to RFC4515 and RFC 4516. If you do not provide a query template, Atlas attempts to use the default value:
{USER}?memberOf?base
. - 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. Must be the full DN, such as
CN=BindUser,CN=Users,DC=myldapserver,DC=mycompany,DC=com
. - ca_
certificate str - CA certificate used to verify the identify of the LDAP server. Self-signed certificates are allowed.
- hostname str
- The hostname or IP address of the LDAP server. The server must be visible to the internet or connected to your Atlas cluster with VPC Peering.
- links
Sequence[Ldap
Verify Link Args] - One or more links to sub-resources. The relations in the URLs are explained in the Web Linking Specification.
- port int
- The port to which the LDAP server listens for client connections. Default:
636
- project_
id str - The unique ID for the project to configure LDAP.
- request_
id str - The unique identifier for the request to verify the LDAP over TLS/SSL configuration.
- status str
- The current status of the LDAP over TLS/SSL configuration. One of the following values:
PENDING
,SUCCESS
, andFAILED
. - validations
Sequence[Ldap
Verify Validation Args] - Array of validation messages related to the verification of the provided LDAP over TLS/SSL configuration details. The array contains a document for each test that Atlas runs. Atlas stops running tests after the first failure. The following return values can be seen here: Values
- authz
Query StringTemplate - An LDAP query template that Atlas executes to obtain the LDAP groups to which the authenticated user belongs. Used only for user authorization. Use the {USER} placeholder in the URL to substitute the authenticated username. The query is relative to the host specified with hostname. The formatting for the query must conform to RFC4515 and RFC 4516. If you do not provide a query template, Atlas attempts to use the default value:
{USER}?memberOf?base
. - 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. Must be the full DN, such as
CN=BindUser,CN=Users,DC=myldapserver,DC=mycompany,DC=com
. - ca
Certificate String - CA certificate used to verify the identify of the LDAP server. Self-signed certificates are allowed.
- hostname String
- The hostname or IP address of the LDAP server. The server must be visible to the internet or connected to your Atlas cluster with VPC Peering.
- links List<Property Map>
- One or more links to sub-resources. The relations in the URLs are explained in the Web Linking Specification.
- port Number
- The port to which the LDAP server listens for client connections. Default:
636
- project
Id String - The unique ID for the project to configure LDAP.
- request
Id String - The unique identifier for the request to verify the LDAP over TLS/SSL configuration.
- status String
- The current status of the LDAP over TLS/SSL configuration. One of the following values:
PENDING
,SUCCESS
, andFAILED
. - validations List<Property Map>
- Array of validation messages related to the verification of the provided LDAP over TLS/SSL configuration details. The array contains a document for each test that Atlas runs. Atlas stops running tests after the first failure. The following return values can be seen here: Values
Supporting Types
LdapVerifyLink, LdapVerifyLinkArgs
LdapVerifyValidation, LdapVerifyValidationArgs
- Status string
- The current status of the LDAP over TLS/SSL configuration. One of the following values:
PENDING
,SUCCESS
, andFAILED
. - Validation
Type string
- Status string
- The current status of the LDAP over TLS/SSL configuration. One of the following values:
PENDING
,SUCCESS
, andFAILED
. - Validation
Type string
- status String
- The current status of the LDAP over TLS/SSL configuration. One of the following values:
PENDING
,SUCCESS
, andFAILED
. - validation
Type String
- status string
- The current status of the LDAP over TLS/SSL configuration. One of the following values:
PENDING
,SUCCESS
, andFAILED
. - validation
Type string
- status str
- The current status of the LDAP over TLS/SSL configuration. One of the following values:
PENDING
,SUCCESS
, andFAILED
. - validation_
type str
- status String
- The current status of the LDAP over TLS/SSL configuration. One of the following values:
PENDING
,SUCCESS
, andFAILED
. - validation
Type String
Import
LDAP Configuration must be imported using project ID and request ID, e.g.
$ pulumi import mongodbatlas:index/ldapVerify:LdapVerify test 5d09d6a59ccf6445652a444a-5d09d6a59ccf6445652a444a
For more information see: MongoDB Atlas API Reference.
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- MongoDB Atlas pulumi/pulumi-mongodbatlas
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
mongodbatlas
Terraform Provider.