You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@polaris.apache.org by di...@apache.org on 2025/09/26 18:25:24 UTC
(polaris) branch main updated: Enhancement : adding support for Aurora postgres AWS IAM authentication (#2650)
This is an automated email from the ASF dual-hosted git repository.
dimas pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/polaris.git
The following commit(s) were added to refs/heads/main by this push:
new 965bd530a Enhancement : adding support for Aurora postgres AWS IAM authentication (#2650)
965bd530a is described below
commit 965bd530a4bd03e4c47f2cb799e3fd3bc40362fd
Author: fabio-rizzo-01 <fa...@jpmorgan.com>
AuthorDate: Fri Sep 26 19:25:20 2025 +0100
Enhancement : adding support for Aurora postgres AWS IAM authentication (#2650)
Add support for postgres AWS IAM authentication using the `apache-client` lib.
---
CHANGELOG.md | 1 +
gradle/libs.versions.toml | 1 +
runtime/admin/src/main/resources/application.properties | 3 ++-
runtime/common/build.gradle.kts | 2 ++
runtime/defaults/src/main/resources/application.properties | 7 +++++++
5 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index eba8e8555..3b1b9adfd 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -31,6 +31,7 @@ request adding CHANGELOG notes for breaking (!) changes and possibly other secti
### Upgrade Notes
+- Amazon RDS plugin enabled, this allows polaris to connect to AWS Aurora PostgreSQL using IAM authentication.
- The EclipseLink Persistence implementation has been deprecated since 1.0.0 and will be completely removed
in 1.3.0 or in 2.0.0 (whichever happens earlier).
diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml
index d3aeb7fbe..7f4010bb4 100644
--- a/gradle/libs.versions.toml
+++ b/gradle/libs.versions.toml
@@ -39,6 +39,7 @@ swagger = "1.6.16"
# If a dependency is removed, check whether the LICENSE and/or NOTICE files need to be adopted
# (aka mention of the dependency removed).
#
+quarkus-amazon-services-bom = { module = "io.quarkus.platform:quarkus-amazon-services-bom", version.ref="quarkus" }
antlr4-runtime = { module = "org.antlr:antlr4-runtime", version.strictly = "4.9.3" } # spark integration tests
assertj-core = { module = "org.assertj:assertj-core", version = "3.27.6" }
auth0-jwt = { module = "com.auth0:java-jwt", version = "4.5.0" }
diff --git a/runtime/admin/src/main/resources/application.properties b/runtime/admin/src/main/resources/application.properties
index 3cdfaa18a..a15c5b138 100644
--- a/runtime/admin/src/main/resources/application.properties
+++ b/runtime/admin/src/main/resources/application.properties
@@ -32,7 +32,8 @@ quarkus.container-image.group=apache
quarkus.container-image.name=polaris-admin-tool
quarkus.container-image.additional-tags=latest
quarkus.datasource.db-kind=postgresql
-
+#https://docs.quarkiverse.io/quarkus-amazon-services/dev/amazon-rds.html#_configuring_rds_clients
+quarkus.rds.sync-client.type=apache
# ---- Runtime Configuration ----
# Below are default values for properties that can be changed in runtime.
diff --git a/runtime/common/build.gradle.kts b/runtime/common/build.gradle.kts
index d67317820..e930a3e13 100644
--- a/runtime/common/build.gradle.kts
+++ b/runtime/common/build.gradle.kts
@@ -25,4 +25,6 @@ plugins {
dependencies {
compileOnly(libs.smallrye.config.core)
implementation(project(":polaris-relational-jdbc"))
+ implementation(platform(libs.quarkus.amazon.services.bom))
+ implementation("io.quarkiverse.amazonservices:quarkus-amazon-rds")
}
diff --git a/runtime/defaults/src/main/resources/application.properties b/runtime/defaults/src/main/resources/application.properties
index 2eb7e8592..83704a791 100644
--- a/runtime/defaults/src/main/resources/application.properties
+++ b/runtime/defaults/src/main/resources/application.properties
@@ -125,6 +125,13 @@ polaris.persistence.type=in-memory
# polaris.persistence.type=relational-jdbc
polaris.secrets-manager.type=in-memory
+# disable localstack
+# if set to true it will try to start localstack at build and run time for the local environment
+# https://docs.quarkiverse.io/quarkus-amazon-services/dev/amazon-rds.html#_configuration_reference for more details
+quarkus.devservices.enabled=false
+quarkus.rds.sync-client.type=apache
+
+
polaris.file-io.type=default