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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南