MTHi Priya, I'm glad you found the article helpful. DBConfig has fields like Hostname, Username, Port, SSLMode etc. The session struct is a aws session, this is available in the aws sdk. I have updated the article with the same.Reply·Article·Jan 19, 2022·IAM Role Authentication for Postgres RDS using Python and Go