-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Description
AWS IAM Authentication uses AWS IAM permissioning to generate a temporary (15 minute) password when connecting to the database.
Ideally, there would be a way to have a credentials provider that generated the credentials for each physical connection.
const pool = new Pool({
user: 'dbuser',
host: 'database.server.com',
database: 'mydb',
port: 3211,
async dynamic(config) {
const password = ''; // retrieve and cache password
return { ...config, password };
}
});
Metadata
Metadata
Assignees
Labels
No labels