drizzle-team / drizzle-team/drizzle-orm

[FEATURE]: Allow using a promise as a password for postgres

Open
#4,312 3 comments 0 reactions 0 assignees View on GitHub
drizzle/kit enhancement
Dominant language
TypeScript
Stars
35.8k
Forks
1.6k
Avg merge
2d 7h
Merged PRs (30d)
4

Description

### Feature hasn't been suggested before.

- [x] I have verified this feature I'm about to request hasn't been suggested before.

### Describe the enhancement you want to request

Both node-postgres and postgres.js allow providing a Promise instead of a string as a password.
Drizzle-kit's validation rejects the config if a promise is used as password.

E.g. RDS with IAM authentication uses asynchronous, dynamically generated tokens as password, so we can't currently use all the drizzle-kit features that require access to the database, like Studio

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.