> ## Documentation Index
> Fetch the complete documentation index at: https://nango.dev/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# AWS Inspector2 - How do I link my account?

# Overview

To authenticate with AWS Inspector2, you will need:

1. **Access Key ID** - This is a unique identifier that specifies the IAM user or role making the request.
2. **Secret Access Key** - This is a confidential key that acts as a password used to sign API requests made to AWS services.

This guide will walk you through finding the API Key within AWS.

### Prerequisites:

* You must have a registered account with AWS.
* Inspector2 must be enabled in your target AWS region.

### Instructions:

#### Step 1: Finding Your pair keys

1. **Log in** to your AWS IAM console.
2. In the navigation bar on the upper right, select your user name, and then select **Security credentials**.

<img src="https://mintcdn.com/nango/XBv0O9CZhbqMWnK1/api-integrations/aws-iam/aws-profile.png?fit=max&auto=format&n=XBv0O9CZhbqMWnK1&q=85&s=50cb7940d52ce579293ac9649e0c6dab" width="3024" height="1590" data-path="api-integrations/aws-iam/aws-profile.png" />

3. In the **Access keys** section, click **Create access key**. If you already have two access keys, this button is deactivated and you must delete an access key before you can create a new one.

<img src="https://mintcdn.com/nango/XBv0O9CZhbqMWnK1/api-integrations/aws-iam/aws_access_key.png?fit=max&auto=format&n=XBv0O9CZhbqMWnK1&q=85&s=21c84b78baf97bb1c1e5156168300a11" width="3024" height="1590" data-path="api-integrations/aws-iam/aws_access_key.png" />

4. On the **Access key best practices & alternatives** page, choose your use case to learn about additional options which can help you avoid creating a long-term access key. If you determine that your use case still requires an access key, click **Other** and then click **Next**.
5. Once you are done, a pair of both **Access** and **Secret Access** keys will be generated.

<img src="https://mintcdn.com/nango/XBv0O9CZhbqMWnK1/api-integrations/aws-iam/keys.png?fit=max&auto=format&n=XBv0O9CZhbqMWnK1&q=85&s=63a1f0b508604df67d463c35cfbfe3a2" width="3024" height="1590" data-path="api-integrations/aws-iam/keys.png" />

#### Step 2: Finding Your region host

1. You can obtain this directly from the web address bar.

<img src="https://mintcdn.com/nango/XBv0O9CZhbqMWnK1/api-integrations/aws-iam/region.png?fit=max&auto=format&n=XBv0O9CZhbqMWnK1&q=85&s=c94ba623aae1fb59e1bf9fa05d072a2b" width="1098" height="76" data-path="api-integrations/aws-iam/region.png" />

#### Step 3: Enter credentials in the Connect UI

Once you have these keys and the region:

1. Open the form where you need to authenticate with AWS Inspector2.
2. Enter the **Access Key ID**, **Secret Access Key**, and **Region** in their respective fields.
3. Submit the form, and you should be successfully authenticated.

<img src="https://mintcdn.com/nango/gYAxOtcIBQarVd-D/api-integrations/aws-inspector2/form.png?fit=max&auto=format&n=gYAxOtcIBQarVd-D&q=85&s=8add8e5e469a9d9abbd255da6c928b6b" style={{maxWidth: "450px" }} width="502" height="698" data-path="api-integrations/aws-inspector2/form.png" />

You are now connected to AWS Inspector2.
