---
sourceDocument: Yokohama IT Operations Management
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/yokohama/it-operations-management

 Release :

    - yokohama

ft:locale :

    - en-US

ft:publication_title :

    - Yokohama IT Operations Management

ft:clusterId :

    - itom

bundleId :

    - itom

workflow :

    - Technology


---

# Create an alias for the API key credential

# Create an alias for the API key credential for Fortinet firewall REST-based discovery {#ariaid-title1}

* Release version: Yokohama
* 
* Updated January 30, 2025
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

Create an alias and add it to an API key credential to discover Fortinet firewalls and FortiGate Virtual Domains (VDOMs) through REST-based discovery.

## Before you begin

Create an API Token in Fortinet. For more information, see the [Create API Token](https://servicenow-prod.fluidtopics.net/RkAGAqxHMZ5_XbFupjOXLw#fortinet-fw-vdoms-rest-discovery__create-fortinet-api-token) prerequisite in [Fortinet firewall and FortiGate VDOM REST-based discovery](https://servicenow-prod.fluidtopics.net/RkAGAqxHMZ5_XbFupjOXLw "The Discovery and Service Mapping Patterns application uses the Next Generation Fortinet Network Firewall - REST pattern to find Fortinet firewalls through REST API calls. Additionally, the pattern extension VDOM Discovery finds FortiGate Virtual Domains (VDOMs). Discovering some of these resources may require updating to the latest version of the Discovery and Service Mapping Patterns application from the ServiceNow Store.").

Role required: discovery_admin

## Procedure

1. Create an alias.
   1. Navigate to Connections \& CredentialsConnection \& Credential Aliases.
   2. Select New.
   3. Enter a unique name for the alias and select Credential for the alias type in the Type field.
   4. Select Submit.
   {#create-alias-api-key-cred-fortinet__substeps_lkx_w1c_j2b}
2. Configure an API key credential for the new alias.
   1. Navigate to DiscoveryCredentials.
   2. Select New.
   3. Select API Key Credentials.
   4. Unlock the Credential alias field and select the alias you created.
   5. Configure the rest of the API Key Credentials form fields.
   6. Select Submit.  
      For more information about API Key Credentials form fields, see [API key credentials](https://www.servicenow.com/docs/access?context=API-key-credential-form&version=yokohama&pubname=yokohama-platform-security&ft:locale=en-US).
   {#create-alias-api-key-cred-fortinet__substeps_mng_3bc_j2b}

## What to do next

Create a serverless schedule for Fortinet Firewall REST-based discovery. For more information, see [Create a serverless schedule for Fortinet firewall REST-based discovery](https://servicenow-prod.fluidtopics.net/kV7ngQ7_k1uplhHP6OzHqg "Create a serverless discovery schedule to discover Fortinet firewalls and FortiGate Virtual Domains (VDOMs) through REST-based discovery.").
**Related reference**   

* [Fortinet firewall and FortiGate VDOM REST-based discovery](https://servicenow-prod.fluidtopics.net/RkAGAqxHMZ5_XbFupjOXLw "The Discovery and Service Mapping Patterns application uses the Next Generation Fortinet Network Firewall - REST pattern to find Fortinet firewalls through REST API calls. Additionally, the pattern extension VDOM Discovery finds FortiGate Virtual Domains (VDOMs). Discovering some of these resources may require updating to the latest version of the Discovery and Service Mapping Patterns application from the ServiceNow Store.")

*[\>]: and then


