Fortinet white logo
Fortinet white logo

Identity & Access Management (IAM)

24.4.0

Adding an API user

Adding an API user

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

Before you can create API users, you must create a permission profile. See Permission profiles.

To create an API user:
  1. Select Users from the left-hand navigation menu. The Users page opens.
  2. Click Add New > API User. The API User Details page opens.

  3. (Optional) In the Description field, enter a description of the user.
  4. Select a permission profile from the Permission Profile dropdown list.
  5. Click Next.
  6. Review the user's information, and click Confirm.

  7. Click Download Credentials. The Security Check dialog opens.
    Note

    Downloading API user credentials will reset the user's security credentials each time you perform this action. The API user only exists within the account scope.

  8. Enter your password to protect the credential file and click Proceed. The credentials are downloaded to your computer.

  9. Request an authorization token. SeeAccessing FortiAPIs

Adding an API user

Adding an API user

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

Before you can create API users, you must create a permission profile. See Permission profiles.

To create an API user:
  1. Select Users from the left-hand navigation menu. The Users page opens.
  2. Click Add New > API User. The API User Details page opens.

  3. (Optional) In the Description field, enter a description of the user.
  4. Select a permission profile from the Permission Profile dropdown list.
  5. Click Next.
  6. Review the user's information, and click Confirm.

  7. Click Download Credentials. The Security Check dialog opens.
    Note

    Downloading API user credentials will reset the user's security credentials each time you perform this action. The API user only exists within the account scope.

  8. Enter your password to protect the credential file and click Proceed. The credentials are downloaded to your computer.

  9. Request an authorization token. SeeAccessing FortiAPIs