Import users via CSV

You can import multiple local users into ASMS from a CSV file. This allows you to onboard large numbers of users without manually configuring each of them.

Prepare a users CSV file

Do the following:

  1. Open a new text file.

  2. In the first line of the file, type a list of column headers.

    For a list of supported headers, refer to the following table. The headers must be separated by commas.

  3. For each user you want to import, type a new line containing values that correspond to the column headers.

    Refer to the following table for information about each header's possible values. The values must be separated by commas. If no value is specified, the default is used.

    For example:

    username,password,fullname,email,note,policy_change,administrator,authentication_type,default_fw_profile,firewallsJohnS,JohnSPass,John Smith,[email protected],customersupport,yes,yes,,readonly,(ECZ_ASA1;yes;Standard)(ISG1000_root:trust-vr;yes;Standard)JaneB,,Jane Brown,[email protected],sales,no,no,ldap

  4. Save the file.

Back to top

Run the import users script

This procedure describes how to import users into AFA from an CSV file.

Do the following:

  1. Open a terminal and log in using the username "afa" and the related password.
  2. Enter the following command:

    import_users -f CSVFile

    For information on the command's flags, see the following table.

    The import_users script runs and imports users from the file into both AFA and FireFlow.

Back to top