[Docs] - RDS IAM Auth (#13942)

This commit is contained in:
Pere Miquel Brull 2023-11-13 08:58:21 +01:00 committed by GitHub
parent 3fdc71a98b
commit 2498dbb474
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,32 @@
---
title: How to enable AWS RDS IAM Auth
slug: /deployment/rds-iam-auth
---
# Aws resources on RDS IAM Auth
https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.IAMDBAuth.html
# Requirements
1. AWS RDS Cluster with IAM auth enabled
2. User on DB Cluster with IAM enabled
3. IAM policy with permission on RDS connect
4. Role with IAM policy attached
5. IAM role attached to an EC2 instance on which openmetadata is deployed or ServiceAccount/Kube2Iam role attached to pod.
# How to enable ADS RDS IAM Auth on postgresql
Set the environment variables
```Commandline
DB_USER_PASSWORD: "dummy"
DB_PARAMS: "awsRegion=eu-west-1&allowPublicKeyRetrieval=true&sslmode=require&serverTimezone=UTC"
```
Either through helm (if deployed in kubernetes) or as env vars.
{% note %}
The `DB_USER_PASSWORD` is still required and cannot be empty. Set it to a random/dummy string.
{% /note %}

View File

@ -181,6 +181,8 @@ site_menu:
- category: Deployment / Enable Secrets Manager / How to add a new implementation
url: /deployment/secrets-manager/how-to-add-a-new-implementation
- category: Deployment / How to enable AWS RDS IAM Auth
url: /deployment/rds-iam-auth
- category: Deployment / Server Configuration Reference
url: /deployment/configuration