Skip to content

Support custom CNAME hostnames with RDS IAM authentication #4172

Closed

Description

@maheshrijal

Problem

I use RDS MySQL with IAM database authentication and switch read traffic between replicas during capacity changes. I want my saved connections to use a stable hostname:

reader.db.example.com → replica-a.…rds.amazonaws.com

When I update the CNAME to another reader, I want to reconnect without editing the saved connection.

RDS IAM tokens must be signed for the AWS-issued endpoint rather than my alias. TablePro currently appears to sign the configured hostname without resolving the CNAME.

The existing RDS Endpoint override also appears insufficient for direct connections: in v0.86.0, RDSSigningEndpointResolver rejects a different override hostname unless the configured host is loopback.

I identified this through source inspection rather than a live database reproduction.

Expected behavior

I can save a custom CNAME as the connection hostname, authenticate using RDS IAM, and reconnect after its target changes without updating the saved connection.

Platform

macOS

Related database type

Amazon RDS MySQL

References

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions