Configure AWS Secrets Manager authentication methods - Precisely Data Integrity Suite

Data Integrity Suite

Product
Spatial_Analytics
dis_mcp
Data_Integration
Data_Enrichment
Data_Governance
Precisely_Data_Integrity_Suite
geo_addressing_1
platform_spatial_analytics
Data_Observability
Data_Quality
dis_core_foundation
Services
Spatial Analytics
Precisely MCP
Data Integration
Data Enrichment
Data Governance
Geo Addressing
Data Observability
Data Quality
Core Foundation
ft:title
Data Integrity Suite
ft:locale
en-US
PublicationType
pt_product_guide
copyrightfirst
2000
copyrightlast
2026
Configure the AWS IAM users, roles, trust policies, and permissions required for Data Integrity Suite to access secrets stored in AWS Secrets Manager.

Each authentication method includes all required AWS IAM policies and setup steps.

Method 1 – Access Key

To configure Access Key authentication:

  1. Create an IAM user in your AWS account.
  2. Attach a policy that grants secretsmanager:GetSecretValue and any other required permissions to that user.
  3. Generate an access key and note the Access Key ID and Secret Access Key.
  4. Provide the access key credentials and region when configuring the key vault in Data Integrity Suite.
Tip: Rotate access keys regularly. Avoid long-lived static keys for production. Use IAM roles where possible.

What to provide in Data Integrity Suite

Field Description
Access Key ID Your IAM user's access key ID.
Secret Access Key Your IAM user's secret access key.
Region AWS region where secrets are stored, for example, us-east-1.

Method 2 – Precisely-Managed IAM Role (precisely_account_iam_role)

The Precisely backend assumes a role in your AWS account to retrieve secrets from AWS Secrets Manager. You create the role, define the trust policy, including a mandatory ExternalId, and attach the required permissions.

Prerequisites

  • Request the Precisely executor role ARN from Precisely support before creating any AWS resources. Use this value when configuring the trust policy in Step 2.

Step 1 – Create the IAM Role

  1. In your AWS account, go to IAM → Roles → Create role.
  2. Select Another AWS Account as the trusted entity type, which is the Precisely AWS account.
  3. Name the role, for example, CompanySecretsRole.
  4. Copy the Role ARN. Enter this value in Data Integrity Suite.

Step 2 – Configure the Trust Policy

The trust policy defines who can assume this role. You must allow the Precisely executor role ARN and require an ExternalId to prevent the confused-deputy problem.

In the AWS Console, go to IAM → Roles → [your role] → Trust relationships → Edit trust policy and replace the existing policy with the following policy:

{
  "Version": "2012-10-17",
  "Statement": [{
      "Effect": "Allow",
      "Principal": {
    "AWS": "arn:aws:iam::PRECISELY_AWS_ACCOUNT_ID:PRECISELY_AWS_ACCOUNT_ROLE"
      },
      "Action": "sts:AssumeRole",
      "Condition": {
          "StringEquals": {
            "sts:ExternalId": "YOUR-EXTERNAL-ID"
            }
          }
        }]
     }
  • Replace PRECISELY_AWS_ACCOUNT_ID and PRECISELY_AWS_ACCOUNT_ROLE with the values provided by Precisely support.
  • YOUR-EXTERNAL-ID is a unique string you create, for example, a UUID such as 8f2c7bde-39c6-4e72-a3f1-b9b8a1c2d5e3. Save this value and enter it in Data Integrity Suite.
  • The ExternalId is mandatory for this authentication method. Omitting it causes the connection to be rejected during validation.

    Why is ExternalId required? Without it, anyone who discovers your Role ARN could potentially trick AWS STS into granting them access. ExternalId limits role assumption to the Precisely system that knows your ExternalId.

Step 3 – Attach the Permissions Policy

Attach a permissions policy to the role that allows reading secrets from AWS Secrets Manager. These are the minimum required permissions for Data Integrity Suite to retrieve secrets at runtime.

Go to IAM → Roles → [your role] → Permissions → Add permissions → Create inline policy and add the following policy:

{
  "Version": "2012-10-17",
  "Statement": [
    {
     "Sid": "SecretsManagerReadAccess",
     "Effect": "Allow",
     "Action": [
         "secretsmanager:GetSecretValue",
         "secretsmanager:DescribeSecret"
       ],
      "Resource": [
         "arn:aws:secretsmanager:REGION:ACCOUNT_ID:secret:SECRET_NAME_OR_PREFIX*"
       ]
     }
   ]
}
Action Resource Purpose
secretsmanager:GetSecretValue Specific secret ARN or prefix Required – Retrieves the secret value at runtime.
secretsmanager:DescribeSecret Specific secret ARN or prefix Required – Retrieves secret metadata, including version IDs and rotation status.
secretsmanager:ListSecrets * Optional – Needed only if Data Integrity Suite enumerates available secrets.

Least-privilege recommendation: Scope the Resource to specific secret ARNs or a prefix rather than *. For example, arn:aws:secretsmanager:us-east-1:123456789012:secret:dis/*.

What to provide in Data Integrity Suite

Field Description
Customer Role ARN ARN of the role you created, for example, arn:aws:iam::YOUR_ACCOUNT_ID:role/YOUR_ROLE.
External ID The ExternalId string from your trust policy.
Region AWS region where secrets are stored, for example, us-east-1.

Method 3 – Customer-Managed IAM Role (customer_iam_role)

Data Integrity Suite uses an IAM user's access key to call sts:AssumeRole to assume an IAM role in the target account, then accesses AWS Secrets Manager using the role's temporary credentials. This method works for both same-account and cross-account setups.

Step 1 – Create the IAM Role (Target Account)

  1. In the target account, which is the account that holds the secrets, go to IAM → Roles → Create role.
  2. Select Another AWS Account for cross-account access or This account for same-account access.
  3. Name the role, for example, AgentSecretsRole.
  4. Copy the Role ARN. Enter this value in Data Integrity Suite.

Step 2 – Configure the Trust Policy (Target Account Role)

In the AWS Console, go to IAM → Roles → [your role] → Trust relationships → Edit trust policy. Choose the variant that matches your setup.

Option A – Same Account (no ExternalId)
{
  "Version": "2012-10-17",
  "Statement": [{
    "Effect": "Allow",
    "Principal": {
    "AWS": "arn:aws:iam::ACCOUNT_ID:ASSUME_ROLE"
    },
    "Action": "sts:AssumeRole",
    "Condition": {}
  }]
}

For stronger security, replace the principal with the specific IAM user ARN: arn:aws:iam::ACCOUNT_ID:user/CALLER_USER_NAME.

Option B – Cross-Account with ExternalId (Recommended)
{
  "Version": "2012-10-17",
  "Statement": [{
    "Effect": "Allow",
    "Principal": {
    "AWS": "arn:aws:iam::CALLER_ACCOUNT_ID:role/CallerRole"
    },
    "Action": "sts:AssumeRole",
    "Condition": {
      "StringEquals": {
        "sts:ExternalId": "YOUR-EXTERNAL-ID"
      }
    }
  }]
}
  • Replace CALLER_ACCOUNT_ID with the AWS account ID that holds the IAM user or role calling AssumeRole.
  • YOUR-EXTERNAL-ID is a unique string you create. Enter this same value in the External ID field in Data Integrity Suite. This value is optional but recommended for cross-account setups.

Step 3 – Attach the Permissions Policy (Target Account Role)

Attach a permissions policy to the role that allows reading secrets from AWS Secrets Manager. These are the minimum required permissions for Data Integrity Suite to retrieve secrets at runtime.

Go to IAM → Roles → [your role] → Permissions → Add permissions → Create inline policy and add the following policy:
{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "SecretsManagerReadAccess",
      "Effect": "Allow",
      "Action": [
        "secretsmanager:GetSecretValue",
        "secretsmanager:DescribeSecret"
      ],
      "Resource": [
        "arn:aws:secretsmanager:REGION:ACCOUNT_ID:secret:SECRET_NAME_OR_PREFIX*"
      ]
    }
  ]
}
Action Resource Purpose
secretsmanager:GetSecretValue Specific secret ARN or prefix Required – Retrieves the secret value at runtime.
secretsmanager:DescribeSecret Specific secret ARN or prefix Required – Retrieves secret metadata, including version IDs and rotation status.
secretsmanager:ListSecrets * Optional – Needed only if Data Integrity Suite enumerates available secrets.

Least-privilege recommendation: Scope the Resource to specific secret ARNs or a prefix. For example, arn:aws:secretsmanager:us-east-1:123456789012:secret:dis/*.

Step 4 – Create the IAM Caller User (Source Account)

You need an IAM user whose access key you provide in Data Integrity Suite. This user calls sts:AssumeRole to get temporary credentials for the target role.

  1. Go to IAM → Users → Create User and create an IAM user named, for example, SecretsManagerCaller.
  2. Enable Programmatic access, which provides an access key and secret.
  3. Skip attaching permissions directly. Permissions are granted through the role assumption policy.
  4. Save the Access Key ID and Secret Access Key. Enter these values in Data Integrity Suite.
Attach the following inline or managed policy to the caller user to grant permission to assume the target role:
{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": "sts:AssumeRole",
    "Resource": "arn:aws:iam::ACCOUNT_ID:role/ACCOUNT_ROLE"
    }
  ]
}

UI note: The Agent field is mandatory when configuring a customer_iam_role key vault connection. You must select a registered Data Integrity Suite Agent before saving.

If the source and target are in the same account, the setup still works. It becomes a same-account role assumption.

What to provide in Data Integrity Suite

Field Description
Customer Role ARN ARN of the role in the target account, for example, arn:aws:iam::TARGET_ACCOUNT_ID:role/AgentSecretsRole.
Access Key ID Access key of the caller IAM user.
Secret Access Key Secret access key of the caller IAM user.
Region AWS region where secrets are stored, for example, us-east-1.
External ID Optional. Include this value if it is set in the trust policy.

Authentication method summary

Authentication method What you create in AWS What you provide in Data Integrity Suite
Precisely-Managed IAM Role IAM role with cross-account trust to the Precisely account + ExternalId condition + Permissions policy. Role ARN, External ID, and Region.
Customer-Managed IAM Role IAM Role (target account) + Permissions policy + IAM Caller User (source account) with AssumeRole permission Role ARN, Access Key ID, Secret Access Key, Region (+ optional External ID)
Access Key IAM user with secretsmanager:GetSecretValue permission directly. Access Key ID, Secret Access Key, and Region.