I am trying to set up row-level access control in Postgres through a Cognito user pool. I have set up the user pool and can successfully authenticate users through it, but I am not sure how to link it to Postgres for row-level access control purposes.
I have been looking into using Postgres roles and policies to manage row level access control, but I have no idea how to properly set it up with cognito, or if this is even the correct approach.
Has anyone successfully set up row-level access control in Postgres through a Cognito user pool? Could you please provide some guidance on how to do it?
Thanks in advance for any help!