You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I’m deploying LangGraph in an AWS environment using RDS for Postgres, where authentication is handled via IAM database authentication. This uses short-lived tokens that are generated through the AWS SDK and expire after 15 minutes.
Currently, AsyncPostgresSaver.from_conn_string() expects a static connection string, which doesn’t work well in this setup. There’s no clean way to plug in a dynamic credential source or periodically refresh tokens without managing the underlying asyncpg pool and reconnect logic ourselves.
Has there been any discussion around supporting dynamic or token-based authentication in database checkpointers? I’d love to find a way to make this work cleanly within LangGraph. Happy to share details about how IAM token auth works or what a minimal integration might look like if helpful.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I’m deploying LangGraph in an AWS environment using RDS for Postgres, where authentication is handled via IAM database authentication. This uses short-lived tokens that are generated through the AWS SDK and expire after 15 minutes.
Currently, AsyncPostgresSaver.from_conn_string() expects a static connection string, which doesn’t work well in this setup. There’s no clean way to plug in a dynamic credential source or periodically refresh tokens without managing the underlying asyncpg pool and reconnect logic ourselves.
Has there been any discussion around supporting dynamic or token-based authentication in database checkpointers? I’d love to find a way to make this work cleanly within LangGraph. Happy to share details about how IAM token auth works or what a minimal integration might look like if helpful.
Beta Was this translation helpful? Give feedback.
All reactions