feat: PG allow providing a function for password (#5673) · typeorm/typeorm@265d1ae

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Commit 265d1ae

authored

feat: PG allow providing a function for password (#5673)

1 parent 2066734 commit 265d1ae

File tree

1 file changed

+

1

-

1

lines changed

1 file changed

+

1

-

1

lines changed

Original file line numberDiff line numberDiff line change

@@ -28,7 +28,7 @@ export interface PostgresConnectionCredentialsOptions {

2828

/**

2929

* Database password.

3030

*/

31-

readonly password?: string;

31+

readonly password?: string | (() => string) | (() => Promise<string>);

3232
3333

/**

3434

* Database name to connect to.

0 commit comments

Comments

 (0)