
LDAP Add
CertifiedAdd LDIF entries to LDAP
LDAP Add
Add LDIF entries to LDAP
Reads LDIF records from one or more URIs and issues LDAP add requests for each entry. Operations are independent (non-transactional) and rely on server ACLs. If failOnError is true, the task stops and fails on the first error. If false, failures on a given entry are logged and processing continues.
type: io.kestra.plugin.ldap.AddExamples
Insert entries in LDAP server.
id: ldap_add
namespace: company.team
tasks:
- id: add
type: io.kestra.plugin.ldap.Add
description: What your task is supposed to do and why.
userDn: cn=admin,dc=orga,dc=en
password: "{{ secret('LDAP_PASSWORD') }}"
inputs:
- "{{outputs.someTask.uri_of_ldif_formated_file}}"
hostname: 0.0.0.0
port: 18060
Installation
Our standard Docker images already include this plugin. If you use a -slim image or another setup, install it with the following command:
kestractl plugins get io.kestra.plugin:plugin-ldap --compatible-for $KESTRA_VERSION For kestractl, use your Kestra version with --compatible-for, or specify an exact plugin version.
For Kestra CLI, replace LATEST with a specific version or version range to pin the plugin version.
Properties
hostname *string
Hostname
Hostname for connection.
inputs *array
LDIF input URIs
One or more URIs to LDIF files in internal storage, given as a list or as a single expression that renders to a list (e.g. {{ outputs.convert_to_ldif.urisList }}; wrap a single URI as {{ [outputs.my_task.uri] }}); every entry is attempted separately. If failOnError is true, an error stops the task.
password *string
Password
User password for connection.
port *integerstring
Port
A whole number describing the port for connection.
userDn *string
User
Username for connection.
assets
Assets this task consumes as inputs or produces as outputs, for lineage tracking and the asset graph (Enterprise Edition). A flow declaring this property on a task is rejected in the open-source edition.
io.kestra.core.models.assets.AssetsDeclaration
IGNOREFAILWARNAsset failure behavior
Behavior applied to the task state when a declared asset fails to render, emit, or be persisted (e.g. a lock conflict): FAIL escalates it to FAILED, WARN (default) warns it if it would otherwise succeed, IGNORE leaves the state untouched.
Whether to auto-register assets referenced dynamically at runtime that are not statically declared in inputs or outputs.
The assets consumed as inputs.
io.kestra.core.models.assets.AssetIdentifier
1The assets produced as outputs.
io.kestra.plugin.ee.assets.Dataset
1150{}1150io.kestra.plugin.ee.assets.File
1150{}1150io.kestra.plugin.ee.assets.Table
1150{}1150io.kestra.plugin.ee.assets.VM
1150{}1150io.kestra.core.models.assets.External
1150{}1150io.kestra.core.models.assets.Custom
11501Custom asset type
{}1150authMethod string
simplesimplegssapiAuthentication method
Authentication method to use with the LDAP server.
failOnError booleanstring
trueWhether to fail the task on an LDAP error
If true, the task will fail when an LDAP operation fails. If false, it will only log the error and finish with a SUCCESS state. Defaults to true.
kdc string
Kerberos key distribution center
Needed for GSSAPI authentication method. If this is not provided, an attempt will be made to determine the appropriate value from the system configuration.
realm string
Realm
Needed for GSSAPI authentication method. If this is not provided, an attempt will be made to determine the appropriate value from the system configuration.
saslAllowedQoP array
["AUTH_CONF","AUTH_INT","AUTH"]AUTHAUTH_INTAUTH_CONFsaslAllowedQoP
Used for GSSAPI authentication method only. The list of allowed qualities of protection that may be used for communication after authentication has completed, ordered from most preferred to least preferred.
By default, the full list is allowed, sorted from the most secure to the least secure: - AUTH_CONF # This ensures that third-party observers will not be able to decipher communication between the client and server (i.e., that the communication will be encrypted). - AUTH_INT # This ensure that the communication cannot be altered in an undetectable manner. - AUTH # Only authentication is to be performed, with no integrity or confidentiality protection for subsequent communication.
sslOptions
SSL Configuration
Configure SSL/LDAPS connection parameters.
io.kestra.core.http.client.configurations.SslOptions
Whether to disable checking of the remote SSL certificate.
Only applies if no trust store is configured. Note: This makes the SSL connection insecure and should only be used for testing. If you are using a self-signed certificate, set up a trust store instead.
Metrics
additions.done counter
The total number of successful additions to the LDAP server.
additions.mean.time timer
The mean duration of LDAP additions in milliseconds.
additions.requested counter
The total number of LDIF addition requests made.