Syntax of SlapTool.exe

  • 7940317
  • 19-Aug-2009
  • 26-Apr-2012


SecureLogin SSO


What is the syntax of the SlapTool.exe?

slaptool.exe syntax


The SecureLogin application provisioning tool is installed (into the SecureLogin directory) when you select the administration tools during SecureLogin installation.

To view the syntax, type:

slaptool -h

The following is displayed:

slaptool [-hlaspcPef] -r object_name_file | -o ""object"" [file ...]



Display help message and exit (all other options are ignored)


Exclude userIDs


Exclude variables (passwords will not be exported in current version)


Exclude applications


Exclude settings


Exclude password policies


Exclude credsets


Exclude active Passphrase question on export.

Excludes passphrase question and answer on import.


Perform export rather than import


object_name_file Specifies a file containing line-delimited object names on which to perform the operation



Specifies a particular object on which to operate


Use the cache file, rather than accessing a directory (cannot be used with -r or -o, and SecureLogin must be set to use Dummy mode - user will be selected interactively at runtime).


Used to enable the creation of a passphrase answer for individual users in LDAP and MS Active Directory environments.

It is mandatory for users to save a passphrase answer on first login to SecureLogin. The SLAP tool requires password authorization to save user data. The -k switch provides the user password, enabling automated creation of the passphrase answer. This answer can be manually changed by users after provisioning.

For example, the following command is used to import user data and a passphrase question and answer:

slaptool.exe -k password -o context filename.xml

[file ...]

Specifies one or more .xml files from which to read data (or to write to in the case of exporting). No file specification reads/writes data from/to

For example:

slaptool.exe -o ""CN=bernie.O=testo.T=DEVTEST"" initial_setup.xml