sec:external-security-set-ldap-certificate( $external-security-name as xs:string, $ldap-certificate as xs:string, $ldap-private-key as xs:string ) as empty-sequence()
This function sets the LDAP certificate and private key for the named external security configuration.
xquery version "1.0-ml"; import module namespace sec = "http://marklogic.com/xdmp/security" at "/MarkLogic/security.xqy"; sec:external-security-set-ldap-certificate( "My-External-Security", sec:external-security-get-ldap-certificate("My-External-Security") sec:external-security-get-ldap-private-key("My-External-Security") )