You set up amazon q postgres credentials by making a read-only database role. Then you pass those login details to the agent tool settings. Many teams start by reusing a shared admin account to save time. This shortcut gives an AI agent the power to drop tables or read private rows. A safer setup uses tight database grants and strict role rules.
