Generate a FortiOS API Token
Last updated
Last updated
This feature is in Early Release/BETA. Please contact your Epiphany Systems support or sales contact to learn more.
Determine your source address. The source address is needed to ensure the API token can only be used from trusted hosts. You can skip this step if you already know the trusted host IP address.
In the FortiGate GUI, select the Status dashboard and locate the Administrators widget.
Select your-userid > Show active administrator sessions.
Create an Administrator profile:
Select System > Admin Profiles > Create New.
Populate the fields as shown in the image:
Select OK.
Create the REST API Admin:
Select System > Administrators > Create New > REST API Admin.
Populate the fields as shown in the image:
Select OK. An API token will be generated.
Select Close to complete creation of the REST API Admin.
Make note of the API token as it is only shown once and cannot be retrieved. It will be needed for the remaining instructions.
In In the event that local API collection is not possible, data can be manually collected for the network modeling process. A command line interface (CLI) connection to the devices is needed, as well as a terminal emulator such as Putty or SecureCRT, capable of logging data presented via the show commands used.
Authenticate to the device.
Enter the following commands into the command line interface: