79140310

Date: 2024-10-30 08:55:21
Score: 0.5
Natty:
Report link

Depending on your use case, you can implement an access pattern where you can avoid issuing fixed credentials for your AWS RDS databases, and avoid many of the common pitfalls of insecure credential management.

At a high level, you can assign IAM database authentication roles attached to users who log into your AWS account(s) by membership in a group. These users would be provisioned through IAM Identity Center integrated with your identity provider, say Microsoft Entra ID, since you're using Teams.

All folks would need to do is aws sso login to their account, and then your users can either leverage those credentials to login to the DB in code or on the command line. No need to store extra credentials in/from AWS.

Some pre-requisites:

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: ArguingMussels