Learn how to give AI agents temporary read-only access to PostgreSQL using native database roles, expiring credentials, and auditable SQL sessions.