db.t2.micro Postgres 实例上的 "Enable IAM DB Authentication" 在哪里

Where is "Enable IAM DB Authentication" on a db.t2.micro Postgres instance

我正在尝试创建一个使用 IAM 的 AWS RDS 实例。根据文档,"Database Options" 中应该有一个标记为 "Enable IAM DB Authentication" 的选项。您可以在此处查看示例...

然而,我的没有显示这个...

允许 IAM 身份验证的实例大小是否有限制?

IAM 数据库身份验证目前仅适用于:

  • MySQL 5.6,次要版本 5.6.34 或更高。支持所有实例 类,但 db.m1.small.
  • 除外
  • MySQL 5.7,次要版本 5.7.16 或更高。支持所有实例 类,但 db.m1.small.
  • 除外
  • 亚马逊极光 1.10 或更高版本。支持所有实例 类,除了 db.t2.small.

请看: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.IAMDBAuth.html

我也就此事联系了AWS,他们目前的官方回复是:

I can confirm that there is already a feature request in place to have IAM Authentication for RDS PostgreSQL, so I have +1 to that request on your behalf. Unfortunately I don't have an ETA of when this feature will be made available to share with you at the moment as product team does not provide any ETA when they would make the feature available publicly but please do keep an eye on whats new page where all the new features are published when it is released.

RDS PostgreSQL(vanilla & Aurora) 现在支持 IAM 身份验证。支持的版本是:

Amazon RDS for PostgreSQL(从 2018/09/27 开始支持)

  • 9.5.13 或更高版本
  • 9.6.9 或更高版本
  • 10.4 或更高

Amazon Aurora PostgreSQL(从 2018/11/08 开始支持)

  • 9.6.9 或更高版本

说明就像 MySQL 的:

  1. 使用 rds_iam ROLE
  2. 创建 IAM 身份验证用户
  3. 为 IAM 访问添加新策略
  4. 为 IAM 身份验证请求临时凭证