Added
A company operates a private application in a VPC and must let users connect to Amazon RDS for PostgreSQL without exposing the database to the internet. Users authenticate with the company's existing identity provider, and administrators require database credentials to be rotated automatically without distributing passwords to users. The application can use standard PostgreSQL drivers, and the company wants to minimize changes to its existing authentication workflow. Which solution best meets these requirements?
IAM database authentication avoids distributing long-lived database passwords: the application can generate short-lived authentication tokens using temporary AWS credentials and connect with a PostgreSQL-compatible driver. Federation lets the company's identity provider supply temporary AWS credentials, while the database remains private. A is secure credential storage, but users still retrieve and use a database password rather than authenticating through the stated identity workflow. B omits how users obtain AWS credentials and does not integrate the existing identity provider. D exposes the database publicly and does not make the identity provider a PostgreSQL authentication mechanism.