fleet/tools/mysql-tests/rds
Victor Lyuboslavsky 506901443d
Moved common_mysql package to server/platform/mysql (#38017)
<!-- Add the related story/sub-task/bug number, like Resolves #123, or
remove if NA -->
**Related issue:** Resolves #37244

# Checklist for submitter

If some of the following don't apply, delete the relevant line.

- [x] Changes file added for user-visible changes in `changes/`,
`orbit/changes/` or `ee/fleetd-chrome/changes`.
See [Changes
files](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/guides/committing-changes.md#changes-files)
for more information.

## Testing

- [x] QA'd all new/changed functionality manually



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

* **Refactor**
* Internal MySQL utility package reorganized and all internal imports
updated to the new platform location; no changes to end-user
functionality or behavior.

* **Documentation**
* Added platform package documentation describing infrastructure
responsibilities and architectural boundaries to guide maintainers.

<sub>✏️ Tip: You can customize this high-level summary in your review
settings.</sub>
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-01-08 13:17:19 -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 Moved common_mysql package to server/platform/mysql (#38017) 2026-01-08 13:17:19 -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.