IAM authentication

Using IAM for secure log-ins to RDS databases

Authenticate to MySQL, PostgreSQL, Aurora MySQL, Aurora PostgreSQL, and MariaDB RDS instances using AWS Identity and Access Management (IAM) database authentication.

Using IAM for authenticating an RDS instance offers the following benefits:

  • Network traffic to and from the database is encrypted using Secure Socket Layer (SSL) or Transport Layer Security (TLS).

  • Centrally manage access to your database resources, instead of managing access individually for each DB instance.

  • For applications running on Amazon EC2 hosts, you can use profile credentials specific to your EC2 instance to access your database, instead of using a password, for greater security.

Configuring RDS IAM Authentication in DuploCloud

Use the System Config tab to enable IAM authentication before enabling it for a specific RDS instance.

  1. In the DuploCloud Portal, navigate to Administrator -> System Settings.

  2. Click the System Config tab. The Add Config pane displays.

  3. From the Config Type list box, set Flags.

  4. From the Key list box, select Enable RDS IAM auth.

  5. From the Value list box, select True.

  6. Click Submit. The configuration is displayed in the System Config tab.

Enabling IAM for an RDS instance

You can also enable IAM for any MySQL, PostgreSQL, and MariaDB instance during RDS creation or by updating the RDS Settings after RDS creation.

Enabling IAM when creating an RDS

Select the Enable IAM auth option when you create an RDS database.

Enabling IAM after RDS creation

  1. In the DuploCloud Portal, navigate to Cloud Services -> Database.

  2. In the RDS tab, select the database for which you want to enable IAM.

  3. Click the Actions menu and select RDS Settings -> Update IAM Auth. The Update IAM Auth pane displays.

  4. Select Enable IAM Auth.

  5. Click Update.

Getting an Authentication Token

To download a token which you can use for IAM authentication:

  1. In the DuploCloud Portal, navigate to Cloud Services -> Database.

  2. In the RDS tab, select the database for which you want to enable IAM.

  3. Click the Actions menu and select View -> Get DB Auth Token. The RDS Credentials window displays.

  4. Click Close to dismiss the window.

Last updated

Logo

© DuploCloud, Inc. All rights reserved. DuploCloud trademarks used herein are registered trademarks of DuploCloud and affiliates