Created
August 18, 2022 03:47
-
-
Save flaviut/51e5f9e88603aa78efd3048a719715fd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE USER iam_admin; | |
GRANT rds_iam TO iam_admin; | |
grant rds_superuser to iam_admin; | |
CREATE USER iam_readonly; | |
GRANT rds_iam TO iam_readonly; | |
GRANT pg_read_all_data to iam_readonly; | |
REVOKE CREATE ON SCHEMA public FROM iam_readonly; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment