#Connect TypeORM to AWS RDS with STS token as a Password

2 messages · Page 1 of 1 (latest)

hardy sun
#

In a NestJS application using TypeORM, the database connects to AWS RDS using an STS token, which expires every 15 minutes. While the initial connection works, the application encounters a PAM authentication error after the token expires.https://github.com/typeorm/typeorm/issues/11235 @silk ravine https://github.com/nestjs/typeorm/issues/686

GitHub

Issue description In a NestJS application using TypeORM, the database connects to AWS RDS using an STS token, which expires every 15 minutes. While the initial connection works, the application enc...

GitHub

I followed this instruction (https://docs.nestjs.com/techniques/database) to setup the Postgresql database connection with nestjs. I created a class to provide the connection options like: export c...

hardy sun
#

Oh sorry. mistakenly