Skip to content

PMM-15389 Assume IAM role for RDS monitoring (full stack) - #4548

Draft
4nte wants to merge 3 commits into
v3from
PMM-15389-rds-assume-iam-role
Draft

PMM-15389 Assume IAM role for RDS monitoring (full stack)#4548
4nte wants to merge 3 commits into
v3from
PMM-15389-rds-assume-iam-role

Conversation

@4nte

@4nte 4nte commented Aug 27, 2026

Copy link
Copy Markdown

Feature build for assumed-IAM-role RDS monitoring: PMM assumes an AWS IAM role instead of using static access keys to monitor RDS.

Full stack, pinned on branches we own (the contributor PR percona/pmm#5804 is left untouched):

pmm: PMM-15389-rds-assume-iam-role

  • Adopts feat: support assumed IAM roles for AWS RDS percona/pmm#5804 (assume IAM roles for RDS), authored by the original contributor.
  • Fixes the four review defects on top: pmm-agent 3.4.0 version gate, bounded + validated STS role assumption, explicit clearing of a role ARN (no silent revert to ambient credentials), and role-partition check against PMM settings.
  • Wires instance_id through the inventory node API and pmm-admin, so the rds_exporter actually has a DB instance to scrape. This delivery-surface gap predates #5804 and blocks it.

grafana: PMM-15389-rds-role-arn-ui

  • Adds the AWS IAM role ARN field to the Add Instance / Discovery credentials form, with ARN-format and keys-vs-role exclusivity validation.

Docs companion: percona/pmm#5838.

Draft: built for end-to-end testing on AWS, not for merge.

@JNKPercona

Copy link
Copy Markdown
Collaborator

@JNKPercona

Copy link
Copy Markdown
Collaborator

API tests have succeded: https://pmm.cd.percona.com/job/pmm3-api-tests/7180/

pmm: PMM-15389-rds-assume-iam-role (main + #5804 adopted + 4 defect
fixes + instance_id inventory/CLI wiring). grafana:
PMM-15389-rds-role-arn-ui (role ARN field on the Add Instance /
Discovery credentials form).

Replaces the earlier pin on the contributor fork; #5804 itself is
untouched.

Signed-off-by: Ante Gulin <ante.gulin@percona.com>
@4nte 4nte changed the title PMM-15389 Assume IAM role for RDS monitoring PMM-15389 Assume IAM role for RDS monitoring (full stack) Sep 11, 2026
@JNKPercona

Copy link
Copy Markdown
Collaborator

1 similar comment
@JNKPercona

Copy link
Copy Markdown
Collaborator

@JNKPercona

Copy link
Copy Markdown
Collaborator

API tests have failed: https://pmm.cd.percona.com/job/pmm3-api-tests/7343/

@JNKPercona

Copy link
Copy Markdown
Collaborator

API tests have failed: https://pmm.cd.percona.com/job/pmm3-api-tests/7344/

Retrigger only. pmm PMM-15389-rds-assume-iam-role now at 1ebc19b4,
which fixes the api-test TestRDSExporter/WithRoleARN failure (role ARN
was rejected for a pmm-agent that had not reported a version).

Signed-off-by: Ante Gulin <ante.gulin@percona.com>
@JNKPercona

Copy link
Copy Markdown
Collaborator

@JNKPercona

Copy link
Copy Markdown
Collaborator

API tests have succeded: https://pmm.cd.percona.com/job/pmm3-api-tests/7346/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants