FortiAppSec Cloud
FortiAppSec Cloud delivers unified application security and performance with WAF, bot protection, GSLB, DDoS mitigation, threat analytics, and CDN.
guptas
Staff
Staff
Article Id 366530
Description This article describes how IAM users can create API keys and access the rest of the module with read-only access.
Scope FortiAppSec Cloud.
Solution

To provide API key access to an IAM user, first, the user should have an IAM user account with a permission profile.

In this example permission profile will allow read-only access to all the modules and read-write access to the General module. 

 

Step1: Navigate to support.fortinet.com and select Services -> IAM.

 

IAM.png

 

Step2: Create Permission profile with 'Read & Write' access 'General' resource and rest of the resources set with 'Read Only' privilege's as below:

 

IAM2.png

 

IAM1.png  

Step3: Create an IAM user under Users as below:

 

IAM3.png

 

Select the permission profile that was created in step2 whiling creating IAM users. Once the IAM user is created, the user can log in with the IAM account username/password navigate to General tab and create an API key for their account as below:

 

Permission profile API.png 

Note:
There will be no separate 'Permission Profile' needs to be created for API keys, the IAM account permission profile of the user will be associated with the API key. Each IAM user has to log in with the individual account to generate the API key. 

This API user can have 'Read & Write' access to another module of General resource.

 

If the user has to restrict another module of General resource once the API key is generated by the IAM, the user changes the permission profile with read-only for General resource. 

Contributors