fleet/tools/mysql-tests/rds
Victor Lyuboslavsky ccc36a9cb3
Finishing mysql package migration to slog (#40350)
<!-- Add the related story/sub-task/bug number, like Resolves #123, or
remove if NA -->
**Related issue:** Resolves #40054

# Checklist for submitter

- [ ] Changes file added for user-visible changes in `changes/`,
`orbit/changes/` or `ee/fleetd-chrome/changes`.
  - Already present in previous PR

## Testing

- [x] Added/updated automated tests
- [x] QA'd all new/changed functionality manually


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **Chores**
* Migrated logging to a structured, context-aware backend for clearer,
richer diagnostics and consistent log formatting.
* Introduced broader context propagation and adjusted internal
interfaces to support the new logging approach (no end-user behavior
changes).
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-02-24 16:52:36 -06:00
..
cf-template.yaml Feat 1817 add iam auth to mysql and redis (#32488) 2025-09-04 10:08:47 -05:00
cleanup-test-env.sh Feat 1817 add iam auth to mysql and redis (#32488) 2025-09-04 10:08:47 -05:00
deploy-test-env.sh Feat 1817 add iam auth to mysql and redis (#32488) 2025-09-04 10:08:47 -05:00
iam_auth.go Finishing mysql package migration to slog (#40350) 2026-02-24 16:52:36 -06:00
README.md Feat 1817 add iam auth to mysql and redis (#32488) 2025-09-04 10:08:47 -05:00

RDS IAM Authentication Test Tools

This directory contains test tools for validating Fleet's AWS RDS IAM authentication implementation.

Prerequisites

  • AWS CLI configured with appropriate credentials (via AWS_PROFILE or AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY)

Usage

Deploy Test Environment

# Set AWS credentials and region
export AWS_PROFILE=your-profile  # or use AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY
export AWS_REGION=us-east-2

./deploy-test-env.sh

This will:

  • Create all RDS instances with IAM authentication enabled
  • Create an EC2 instance with necessary IAM permissions
  • Create database users for IAM authentication
  • Output connection information

Clean Up

./cleanup-test-env.sh

This will destroy the AWS resources.