Can I delete Aurora 3 User ( rds_superuser_role, AWS_COMPREHEND_ACCESS, AWS_LAMBDA_ACCESS, AWS_LOAD_S3_ACCESS, AWS_SAGEMAKER_ACCESS, AWS_SELECT_S3_ACCESS)

0

Can I delete Aurora 3 User by 'drop user 'rds_superuser_role'@'%'?

  1. rds_superuser_role
  2. AWS_COMPREHEND_ACCESS
  3. AWS_LAMBDA_ACCESS
  4. AWS_LOAD_S3_ACCESS
  5. AWS_SAGEMAKER_ACCESS
  6. AWS_SELECT_S3_ACCESS
已提问 1 年前284 查看次数
1 回答
0

The straightforward answer would be no. These are the default roles created during instance creation and their functionalities are as follows :

AWS_COMPREHEND_ACCESS - Aurora internal maintenance usage

AWS_LAMBDA_ACCESS - Aurora MySQL call lambda function

AWS_LOAD_S3_ACCESS - Upload to S3 bucket

AWS_SAGEMAKER_ACCESS - Aurora internal maintenance usage

AWS_SELECT_S3_ACCESS - Downloading from S3 bucket

rds_superuser_role - superuser role

Hence, these are the default roles, except 'rds_superuser_role', any other roles cannot be deleted. But, I would recommend you to keep the 'rds_superuser_role' role as untouched. An attempt of deleting other roles will result into below error :

ERROR 1396 (HY000): Operation DROP USER failed

You can also confirm all these default roles on instance creation using the SQL command,

SELECT * FROM mysql.role_edges\G

I hope I have answered all your queries.

profile pictureAWS
Rajat_S
已回答 1 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则