Skip to content

Instantly share code, notes, and snippets.

@kstromeiraos
Last active October 29, 2018 12:06
Show Gist options
  • Save kstromeiraos/cdf5f4efb04535afc1313ce71eb010ae to your computer and use it in GitHub Desktop.
Save kstromeiraos/cdf5f4efb04535afc1313ce71eb010ae to your computer and use it in GitHub Desktop.
Create master user for a RDS DB instance running PostgreSQL

Create user

CREATE ROLE master_user WITH PASSWORD 'password' LOGIN;   

Grant rds_superuser role to user

GRANT rds_superuser TO master_user;   
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment