---
title: SSH Key Configuration for AWS Devices
slug: singleconnect-reference-guide-3-1-0/ssh-key-configuration-for-aws-devices
description: Learn how to establish seamless connections for AWS devices using SSH keys with this comprehensive guide. Discover the necessary steps to retrieve the SSH key name, enable SSH key connection for device groups, and securely upload the key to the Secret Dat
docTags: 
createdAt: 2022-08-01T19:14:10.000Z
---

By default, AWS instances are created with an SSH key in the AWS Console Management screen. If devices imported from AWS are configured to log in with an SSH key, Single Connect can provide seamless connection to those device, otherwise, the global username and password need to be defined for each device group.

To use an SSH key for AWS devices:

1. Get the SSH key name stored in the device properties of each device:
2. Navigate t&#x6F;**&#x20;Device Management&#x20;**> **Device Inventory**.
3. Right-click an AWS Device and select **Show Properties** (The SSH Key name of the device is stored in the **sshKeyName** property)
4. Write down the value of this property to be used for the Secret Data Vault module.

![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/pOCwTm1k003rDbOnU01oE_image.png "SSH Key Name")

Enable SSH Key Connection to Device Groups:

1. Navigate to **Device Management&#x20;**> **Device Groups**.
2. Right-click the Device Group the AWS devices are imported to and select **Show Properties**.
3. Select the **addDeviceSshKeyToUserSelection** property and set the value as **true**.

Uploading an SSH key to Single Connect will enable connections to the device:

1. Navigate to **Secret Data Vault** > **Secret Data Vault**.
2. Fill in the required fields.
3. The **Name** field must be exactly equal to the value of th&#x65;**&#x20;Device Property&#x20;**“sshKeyName”.
4. Select **SSH Key** in the Type field.
5. Copy the contents of your SSH key into the **Secret Data** field.

::Image[]{src="https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/XuRVTo7vTRy44-1A3oQuk_image.png" size="80" width="980" height="290" caption="SSH Key in the Secret Data Vault" position="center" showCaption="true"}

:::hint{type="info"}
SSH keys must be in an OpenSSH key format. This means that the value put into the Secret Data field should:
start with the “---- BEGIN SSH2 PUBLIC KEY ----” and
end with the “---- END SSH2 PUBLIC KEY ----” indicators.
:::

