---
title: Creating an IAM role in the security, identity, and compliance
description: Create an identity and access management (IAM) role in the security, identity, and compliance.
component: pingintelligence
version: 5.2
page_id: pingintelligence:pingintelligence_reference_guide:pingintelligence_creating_iam_role_security_identity_compliance
canonical_url: https://docs.pingidentity.com/pingintelligence/5.2/pingintelligence_reference_guide/pingintelligence_creating_iam_role_security_identity_compliance.html
revdate: April 3, 2024
section_ids:
  steps: Steps
---

# Creating an IAM role in the security, identity, and compliance

Create an identity and access management (IAM) role in the security, identity, and compliance.

## Steps

1. To create an IAM role, select the **EC2** instance.

   ![A screenshot of EC2 instance on the create role page.](../_images/kqx1564009032835.png)

2. Assign the **AmazonEC2ReadOnlyAccess** privilege to the role.

   ![A screenshot of role privileges with AmazonEC2ReadOnlyAccess highlighted](../_images/ypn1564009033450.png)

3. Enter the role name.

   ![A screenshot of review window with an example in Role name field.](../_images/kzg1564009034146.png)
