In the case of RDS, access control does not know any other way than security groups, so I would like to ask for advice.

0

The direction of access control I want is as follows.

  1. Make certain users accessible only to certain DBs
  2. Can see what privileges a particular user has on a particular DB (Select, insert, delete, etc.)
  3. Configure DB to identify and accessible/unable control of specific users for specific IPs

I would like to ask you a question about how access control is possible.

2개 답변
0
수락된 답변

Hi,

On 3rd point, you can use IAM policy for IAM database access: see https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.IAMDBAuth.IAMPolicy.html

The idea is that you grant user or role permission to use a given database id and you grant permissions in the dataabse to this id.

So, only users that you allow at IAM level can connect and use this identity to receive their database credentials. So, it those users are part of a VPC, you achieve your goal.

Best,

Didier

profile pictureAWS
전문가
답변함 7달 전
  • Shouldn't the user attempt to access it using SSL to use the IAM authentication?

  • Using iam for sql access is all or nothing. You can’t give different users different access with IAM. Thus in my answer I didn’t mention IAM.

0

Point 1 and 2 you would have to use the SQL native administration where you would create your users and what permissions each user have. Doesn’t matter it’s on RDS it’s built into the sql server.

I believe point 3 is possible on MySQL also using the native administration. You’d have to check other sql servers to see if it’s possible.

profile picture
전문가
답변함 7달 전
profile picture
전문가
검토됨 7달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠