Fortinet Document Library

Version:


Table of Contents

22.1.0
Download PDF
Copy Link

Adding an API user

Use the Add API User wizard to generate API user IDs and passwords. IAM users can use their credentials to obtain an OAuth token from FortiAuthenticator.

To create an API user:
  1. Go to API Users. The API User pane opens.

  2. Click ADD API USER. The Add API User pane opens.

  3. (Optional) In the Description field, enter a description of the user.
  4. Click Next. The Permissions page is displayed.

  5. Set the Portal Permissions.
    1. Click the Plus sign (+).
    2. Under IAM, Assets & Support, select a product or service, and click Add.
    3. Click the Edit button, and configure the user permission.
      Permission Description
      Allow Portal Access Toggle Yes to grant access to the service.
      AccessType

      The Access Type is defined by the portal. For example, the access types for Asset Management are:

      • Admin

      • Read/Only

      • Read/Write

      Whereas the access types for FortiOS SSO are:

      • SuperAdmin

      • Read Only

    4. Click Confirm.
    5. Click Next.
  6. Review the user's information, and click Confirm.

  7. Click Download Credentials.

    Note

    Downloading API User Credentials will reset the user's security credentials each time you perform this action.

  8. Request an authorization token. SeeAccessing FortiAPIs

Adding an API user

Use the Add API User wizard to generate API user IDs and passwords. IAM users can use their credentials to obtain an OAuth token from FortiAuthenticator.

To create an API user:
  1. Go to API Users. The API User pane opens.

  2. Click ADD API USER. The Add API User pane opens.

  3. (Optional) In the Description field, enter a description of the user.
  4. Click Next. The Permissions page is displayed.

  5. Set the Portal Permissions.
    1. Click the Plus sign (+).
    2. Under IAM, Assets & Support, select a product or service, and click Add.
    3. Click the Edit button, and configure the user permission.
      Permission Description
      Allow Portal Access Toggle Yes to grant access to the service.
      AccessType

      The Access Type is defined by the portal. For example, the access types for Asset Management are:

      • Admin

      • Read/Only

      • Read/Write

      Whereas the access types for FortiOS SSO are:

      • SuperAdmin

      • Read Only

    4. Click Confirm.
    5. Click Next.
  6. Review the user's information, and click Confirm.

  7. Click Download Credentials.

    Note

    Downloading API User Credentials will reset the user's security credentials each time you perform this action.

  8. Request an authorization token. SeeAccessing FortiAPIs