---
title: Assigning key pairs to virtual hosts
description: To assign a key pair to a virtual host:
component: pingaccess
version: 9.0
page_id: pingaccess:pingaccess_user_interface_reference_guide:pa_assigning_key_pairs_to_virtual_hosts
canonical_url: https://docs.pingidentity.com/pingaccess/9.0/pingaccess_user_interface_reference_guide/pa_assigning_key_pairs_to_virtual_hosts.html
revdate: September 22, 2023
section_ids:
  about-this-task: About this task
  steps: Steps
---

# Assigning key pairs to virtual hosts

## About this task

To assign a key pair to a virtual host:

## Steps

1. Click **Security**, then go to **Key Pairs > Key Pairs**.

2. Click the **Pencil** icon, and then click **Assign Virtual Host** for the key pair.

3. In the **Virtual Hosts** list, select the virtual hosts that you want to use the key pair with.

   |   |                                                                                                                                 |
   | - | ------------------------------------------------------------------------------------------------------------------------------- |
   |   | When you assign a key pair to a virtual host, the key pair is also assigned to all other virtual hosts with the same host name. |

4. Click **Save**.
