Step 1: Creating an Administrator Role with SUPERUSER Privileges (Standard PostgreSQL)
• Full access to all databases
• Ability to create, alter, and drop any
database objects
• Manage roles and permissions
• Access system catalogs and perform
backups
• Enable or disable extensions
• Perform maintenance and configuration
tasks
Creating another user with the SUPERUSER
attribute is NOT permitted in Amazon RDS, even if you are using the rds_superuser
role.
Although you cannot create a true SUPERUSER
role in RDS, you can create a role with almost all administrative privileges by
granting the rds_superuser role.
GRANT rds_superuser TO administrator;
Key Takeaways
• True SUPERUSER roles are only available
in self-managed PostgreSQL.
• Amazon RDS uses rds_superuser as a
controlled alternative.
• SUPERUSER creation is blocked in RDS
environments.
• Administrative access can still be
delegated safely using role grants.
No comments:
Post a Comment