Fortinet Document Library

Version:

Version:

Version:

Version:

Version:

Version:

Version:


Table of Contents

CLI Reference

config security waf api-gateway-user

Syntax

config security waf api-gateway-user

edit <api-user_name>

set comments <string>

set uuid <string>

set api-key <string>

config ip-access-list

edit <ip-access-id>

set ip-netmask <ip&netmask>

next

end

config http-referer-list

edit <http-referer-id>

set http-referer <string>

next

end

next

end

CLI Parameter

Description

comments

(Optional) Enter a description or comments for the user

uuid

Note: cannot be changed once set

api-key

Note: cannot be changed once set

ip-access-list

ip-netmask

Restricted Access IPs. Specify the IP addresses that can access the API key.

http-referer-list

http-referer

Restrict HTTP Referers. Specify the URLs that can use the API key when present in the Referer HTTP header. This can be used to prevent an API key from being reused on other client-side web applications that don't match this URL.

URLs must be complete and begin with 'http://' or 'https://'

See also:

config security waf api-gateway-user

Syntax

config security waf api-gateway-user

edit <api-user_name>

set comments <string>

set uuid <string>

set api-key <string>

config ip-access-list

edit <ip-access-id>

set ip-netmask <ip&netmask>

next

end

config http-referer-list

edit <http-referer-id>

set http-referer <string>

next

end

next

end

CLI Parameter

Description

comments

(Optional) Enter a description or comments for the user

uuid

Note: cannot be changed once set

api-key

Note: cannot be changed once set

ip-access-list

ip-netmask

Restricted Access IPs. Specify the IP addresses that can access the API key.

http-referer-list

http-referer

Restrict HTTP Referers. Specify the URLs that can use the API key when present in the Referer HTTP header. This can be used to prevent an API key from being reused on other client-side web applications that don't match this URL.

URLs must be complete and begin with 'http://' or 'https://'

See also: