Merge pull request #33680 from rolandfuszenecker-seon/feat/aws-rds-iam-auth

feat(backend-defaults): add AWS RDS IAM authentication support for PostgreSQL
This commit is contained in:
Fredrik Adelöw
2026-04-10 16:47:13 +02:00
committed by GitHub
6 changed files with 438 additions and 89 deletions
+29
View File
@@ -632,6 +632,35 @@ export interface Config {
*/
ipAddressType?: 'PUBLIC' | 'PRIVATE' | 'PSC';
}
| {
/**
* The specific config for AWS RDS connections with IAM authentication.
* Requires the `@aws-sdk/rds-signer` package to be installed.
* The IAM role or user must have the `rds-db:connect` permission for the database user.
*/
type: 'rds';
/**
* The hostname of the RDS instance.
*/
host: string;
/**
* The port number the database is listening on.
*/
port: number;
/**
* The database user to authenticate as. This user must have the `rds_iam` role granted.
*/
user: string;
/**
* The AWS region where the RDS instance is located.
* Falls back to the AWS_REGION or AWS_DEFAULT_REGION environment variables if not set.
*/
region?: string;
/**
* Other connection settings
*/
[key: string]: unknown;
}
| {
/**
* The rest config for default, regular connections