From e30b41d4818720e0ed5889fc4ffda3563aaec42f Mon Sep 17 00:00:00 2001 From: maltewirz <32659282+maltewirz@users.noreply.github.com> Date: Sun, 11 May 2025 05:23:27 +0200 Subject: [PATCH] Update connecting.mdx (#3266) Changes tested myself and inspired by documention on aws rds signer https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-rds-signer/ --- docs/pages/features/connecting.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/pages/features/connecting.mdx b/docs/pages/features/connecting.mdx index 191ac0e2..97b5c779 100644 --- a/docs/pages/features/connecting.mdx +++ b/docs/pages/features/connecting.mdx @@ -101,9 +101,9 @@ const signerOptions = { username: 'api-user', } -const signer = new RDS.Signer() +const signer = new RDS.Signer(signerOptions) -const getPassword = () => signer.getAuthToken(signerOptions) +const getPassword = () => signer.getAuthToken() const pool = new Pool({ user: signerOptions.username,