Search and Export Keys Using Filters {#key_search}
==================================================

Key Management enables you to search for keys using filters, which set parameters that determine the keys in the search results. Follow these steps to search for keys using filters:

1. On the left navigation panel, choose ![](/content/dam/documentation/cybs/en-us/common/images/ebc/ebc-icon-pymt-config.svg/jcr:content/renditions/original) **`Payment Configuration` \&gt; Key Management**.

2. Under Search Filters, use these drop-down menus to set the parameters of your search:

   |                          Search Filters                          |                                                                                                                                                                                                                                                   Filter Descriptions                                                                                                                                                                                                                                                    |
   |------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
   | **Created At**                                                   | Choose a date range to search for keys that were created within that range. The default value is all dates. To search by a specific date, click **Custom Date** and then set these fields: * **Start Date** * **End Date**                                                                                                                                                                                                                                                                                               |
   | **Expires In**                                                   | Choose a date range to search for keys that are expiring within that date range. The default value displays keys expiring within the next 60 days. To search by a specific date, click **Custom Date** and then set these fields: * **Start Date** * **End Date**                                                                                                                                                                                                                                                        |
   | **Key ID**                                                       | Enter a key ID to search for a key by its ID.                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
   | **Key Status**                                                   | Choose to search by the key status: * **Active:** Search for active keys. * **Inactive:** Search for inactive keys. * **All (default):** Search for both active or inactive keys.                                                                                                                                                                                                                                                                                                                                        |
   | **Key Type**                                                     | Choose a key type to search for keys based on its key type. > IMPORTANT > The default key type of **All** does not include these key types, which must be chosen individually to retrieve in a search: > * ISV Bridge > * Message Level Encryption (MLE) > * Mobile Points of Sale (MPOS) > * Pretty Good Privacy (PGP) > * ` Secure Acceptance `                                                                                                                                                                        |
   | **Merchant (portfolio account and merchant account users only)** | Choose a transacting merchant in your organization. This search filter is only available if you are using a portfolio account or merchant account. The default value is the organization ID that you are using to access the `Business Center`. You can also choose **All Merchants** to display all keys that belong to your organization ID and all keys that belong to the transacting merchants in your organization.                                                                                                |
   | **Number of Records Per Page**                                   | Choose the number of keys that will display in each results page from these options: * **25 (default)** * **50** * **100**                                                                                                                                                                                                                                                                                                                                                                                               |
   | **Sort Order**                                                   | Choose an order in which the key results will display from these options: * **Created Newest:** List keys in order by creation date, beginning with the most recent. * **Created Oldest:** List keys in order by creation date, beginning with the oldest key. * **Expiring Last:** List keys in order by expiration date, beginning with the key that has the earliest expiration date. * **Expiring Soon (default):** List keys in order by expiration date, beginning with the key that has the last expiration date. |
   [Search Filters]

   > TIP  
   > To see all keys, use these filter settings:
   >
   > Key Type
   > :   Set to **All Keys**.
   >
   > Created At
   > :   Set to **All Dates**.
   >
   > Expires At
   > :   Set to **All Dates**.
   > ![](/content/dam/documentation/cybs/en-us/topics/payments-processing/payment-services/sec-keys/images/security-keys-search-filters.png/jcr:content/renditions/original)

3. Click **Search**.  
   The Search Results section displays a table with your key results.  
   You can reset the search filters to their default settings by clicking **Reset Search**.

4. To view key details, find a key in the search results table and click the Key ID hyperlink in the Key ID column.  
   The Key Detail page appears.

5. To export your key search results, click **Export to csv**.  
   The CSV-formatted file downloads to your desktop. If prompted by your system, approve the location to which the file downloads.  
   ![](/content/dam/documentation/cybs/en-us/topics/payments-processing/payment-services/sec-keys/images/security-keys-filter-results-table.png/jcr:content/renditions/original)

