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.
In this topic:
Prepare a users CSV file
Do the following:
-
Open a new text file.
-
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.
-
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,JohnSmith@mycompany.com,customersupport,yes,yes,,readonly,(ECZ_ASA1;yes;Standard)(ISG1000_root:trust-vr;yes;Standard)JaneB,,Jane Brown,JaneBrown@mycompany.com,sales,no,no,ldap
-
Save the file.
Run the import users script
This procedure describes how to import users into AFA from an CSV file.
Do the following:
- Open a terminal and log in using the username "afa" and the related password.
-
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.