Each authentication method includes all required AWS IAM policies and setup steps.
Method 1 – Access Key
To configure Access Key authentication:
- Create an IAM user in your AWS account.
- Attach a policy that grants
secretsmanager:GetSecretValueand any other required permissions to that user. - Generate an access key and note the Access Key ID and Secret Access Key.
- Provide the access key credentials and region when configuring the key vault in Data Integrity Suite.
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
- In your AWS account, go to IAM → Roles → Create role.
- Select Another AWS Account as the trusted entity type, which is the Precisely AWS account.
- Name the role, for example,
CompanySecretsRole. - 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_IDandPRECISELY_AWS_ACCOUNT_ROLEwith the values provided by Precisely support. YOUR-EXTERNAL-IDis a unique string you create, for example, a UUID such as8f2c7bde-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)
- In the target account, which is the account that holds the secrets, go to IAM → Roles → Create role.
- Select Another AWS Account for cross-account access or This account for same-account access.
- Name the role, for example,
AgentSecretsRole. - 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.
{
"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.
{
"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_IDwith the AWS account ID that holds the IAM user or role callingAssumeRole. YOUR-EXTERNAL-IDis 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.
{
"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.
- Go to IAM → Users → Create User and create an IAM user named, for example,
SecretsManagerCaller. - Enable Programmatic access, which provides an access key and secret.
- Skip attaching permissions directly. Permissions are granted through the role assumption policy.
- Save the Access Key ID and Secret Access Key. Enter these values in Data Integrity Suite.
{
"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. |