1
Copy a read replica's endpoint
It is on the instance’s Connectivity & security tab:The master user is fine to start. Use a password: IAM authentication
tokens expire after 15 minutes.
2
Let Midplane in
Directly, the instance must be publicly accessible, with an inbound rule
in its security group for your region’s
egress addresses. To keep it private, use an
SSH bastion: an EC2 instance in the same VPC whose
security group the database’s admits.
3
Run the role script on the primary
A replica is read-only: run the script as the master user on the
primary, in the same database, and the role reaches the replica by
replication (the role script).
rds.force_ssl makes no
difference: Midplane always uses TLS.
More in AWS’s guides:
TLS for RDS
and security groups.