docs/user_guide/connecting/amazon-rds.md
Connecting to Amazon RDS requires you to set up an IAM user and ensure your security group allows traffic from your IP address.
To configure IAM DB access, ensure the DB in AWS is configured to allow IAM authentication. This can be done by modifying the DB instance and enabling IAM DB authentication.
You will then need to create an IAM user and attach the AmazonRDSFullAccess policy to the user. This policy allows the user to connect to the RDS instance.
You can also use a similar policy to the below:
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"rds-db:connect"
],
"Resource": [
"arn:aws:rds:eu-north-1:USERID:db:DB_NAME/USERNAME"
]
}
]
}
Below is an example config in Beekeeper Studio once IAM permissions are setup, you will need the hostname, port, username, AWS Region and if you have multiple Amazon profiles you can specify the profile you want to use.
Uses your local AWS CLI session to retrieve an access token.
Steps:
Postgres requires a database to be provided otherwise it defaults to username
✅ The application will use your active CLI session to authenticate securely.