Assigning new role to already existing user in RDS #8035
-
We have an RDS instance hosted for Aurora PostgreSQL, specifically using the 'db.r5.xlarge' instance type. When we initially set up the RDS instance, a default user named 'rdsadmin' was automatically created with the 'SUPERUSER' role. During the setup, we also created a master user named 'X'. However, 'X' does not have 'SUPERUSER' permissions. Our goal is to assign the 'pg_read_server_files' role to the user 'X'. The challenge we face is that we don't have the login credentials for the 'rdsadmin' user since it was a default root user provided by AWS during the RDS instance creation. We attempted to use the command "GRANT pg_read_server_files to X;", but we encountered an error message: Are there any possible workarounds to assign a new role to an existing user given this situation? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @AshishBansode22 - thanks for reaching out. Please understand that this repo is dedicated for AWS CLI related issues and in order for us to understand the issue you're facing, we're going to need these followings:
I'm going to list a few resources that I think might be helpful to your use case:
Hope that helps! |
Beta Was this translation helpful? Give feedback.
Hi @AshishBansode22 - thanks for reaching out. Please understand that this repo is dedicated for AWS CLI related issues and in order for us to understand the issue you're facing, we're going to need these followings:
aws --version
in your terminal--debug
to the command for debug logsI'm going to list a few resources that I think might be helpful to your use case: