Connect your AWS organization or a single AWS account to Oleria so it can build a continuously updated map of IAM users, roles, policies, EC2 instances, S3 bucket access, and CloudTrail activity. This page covers both integration approaches; the organization-level approach is recommended for production.Documentation Index
Fetch the complete documentation index at: https://docs.oleria.com/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
- AWS Admin role
Use a service account (and not an employee account) with the suggested privileges for the integration to ensure continuity.
Integration Approaches
Oleria currently supports two approaches. Follow the one that is most appropriate for your organization.- Integrate AWS Organization (recommended)
- Integrate AWS Account
Integrate AWS Organization
Log in to the AWS Management Account
Log in as an admin user to the AWS Management Account (also known as the master account) that will be connected to Oleria.Select the user in the top right corner, and select Organization.

Launch AWS CloudFormation from Oleria
Log in to your Oleria workspace. Select Integrations → select AWS IAM and S3. A side page opens - select Organization (Recommended), paste the Root ID where the integration asks for the organization unit ID, and select Launch AWS CloudFormation.

Create the CloudFormation stack
You will be redirected to your AWS instance. The stack name Oleria-Plugin-SaaS-Connector is preselected. Acknowledge and select Create Stack.

Wait for stack creation
The Cloud Stack creation will complete in approximately 1 minute.


The account used for Oleria integration must have the following privileges:
- cloudformation:CreateStack
- cloudformation:CreateUploadBucket
- cloudformation:DescribeStacks
- cloudformation:DescribeStackEvents
- cloudformation:GetStackPolicy
- cloudformation:GetTemplateSummary
- cloudformation:ListStacks
- cloudformation:ListStackResources
- iam:AttachRolePolicy
- iam:CreatePolicy
- iam:CreateRole
- iam:ListRoles
- iam:GetRole
- iam:DeleteRolePolicy
- iam:PutRolePolicy
- s3:GetObject
- s3:CreateBucket
- s3:PutObject
- sns:ListTopics
- iam:AddUserToGroup
- iam:RemoveUserFromGroup
Before adding stacks, verify the StackSet’s configuration. For the integration to automatically apply to new AWS accounts added to your organization in the future, ensure auto-deployment is active.In the CloudFormation console, open StackSets from the left menu. Select the Oleria-Plugin-SaaS-Connector-Org StackSet. Under Deployment configuration, select Edit automatic deployment and set Automatic deployment to Activated.

Navigate to the oleriaConnectorRole
Select the Resources tab and navigate to the oleriaConnectorRole.

Update the KMS key policy (if applicable)
This step is required only if the S3 bucket is encrypted with a KMS key. Update the KMS key policy to allow access to the Oleria connector role. Repeat these CloudTrail and KMS key policy steps for each AWS account that uses an encrypted trail.Search CloudTrail → select Management Events.
Select the AWS KMS key link.
Update the KMS key policy as shown below. Replace accountID with your AWS account ID.
This policy allows the Oleria connector role to use

If you have multiple trails, select the first trail and check for an encrypted KMS key. If S3 is encrypted, you will see a KMS key link.


kms:Decrypt and kms:DescribeKey for KMS-encrypted S3 access.Provide the Role ARN in Oleria
Return to your Oleria workspace. Provide the Role ARN copied above. Select the checkbox and select Authenticate.

Select the AWS region
In your Oleria workspace, select the AWS region where you launched the CloudFormation stack. Select the checkbox and select Authenticate.
Integrate AWS Account
Log in to the AWS Management Account
Log in as an admin user to the AWS Management Account (also known as the master account) that will be connected to Oleria.
Launch AWS CloudFormation from Oleria
In the same browser, open a new tab and log in to your Oleria workspace. Select Integrations → select AWS IAM and S3. A side page opens - select Account from the Connector scope dropdown and select Launch AWS CloudFormation.

Create the CloudFormation stack
You will be redirected to your AWS instance. The stack name Oleria-Plugin-SaaS-Connector is preselected. Acknowledge and select Create Stack.

Wait for stack creation
The Cloud Stack creation will complete shortly.

The account used for Oleria integration must have the following privileges:
- cloudformation:CreateStack
- cloudformation:CreateUploadBucket
- cloudformation:DescribeStacks
- cloudformation:DescribeStackEvents
- cloudformation:GetStackPolicy
- cloudformation:GetTemplateSummary
- cloudformation:ListStacks
- cloudformation:ListStackResources
- iam:AttachRolePolicy
- iam:CreatePolicy
- iam:CreateRole
- iam:ListRoles
- iam:GetRole
- iam:DeleteRolePolicy
- iam:PutRolePolicy
- s3:GetObject
- s3:CreateBucket
- s3:PutObject
- sns:ListTopics
- iam:AddUserToGroup
- iam:RemoveUserFromGroup
Navigate to the oleriaConnectorRole
Select the Resources tab and navigate to the oleriaConnectorRole.

Update the KMS key policy (if applicable)
This step is required only if the S3 bucket is encrypted with a KMS key. Update the KMS key policy to allow access to the Oleria connector role.Search CloudTrail → select Management Events.
Select the AWS KMS key link.
Update the KMS key policy as shown below. Replace accountID with your AWS account ID.
This policy allows the Oleria connector role to use

If you have multiple trails, select the first trail and check for an encrypted KMS key. If S3 is encrypted, you will see a KMS key link.


kms:Decrypt and kms:DescribeKey for KMS-encrypted S3 access.Provide the Role ARN in Oleria
Return to your Oleria workspace. Provide the Role ARN copied above. Select the checkbox and select Authenticate.





