From 112d4ddfb2a909690087cbcf759cd899f22c5948 Mon Sep 17 00:00:00 2001 From: Romy <35330373+romayalon@users.noreply.github.com> Date: Wed, 20 Nov 2024 16:45:21 +0200 Subject: [PATCH] iam cert Signed-off-by: Romy <35330373+romayalon@users.noreply.github.com> --- config.js | 3 ++- src/util/ssl_utils.js | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/config.js b/config.js index 391a574b3f..934aead23c 100644 --- a/config.js +++ b/config.js @@ -71,8 +71,9 @@ config.BUFFERS_MEM_LIMIT = Math.min( // CERTIFICATE CONFIG // //////////////////////// -config.STS_SERVICE_CERT_PATH = '/etc/sts-secret'; config.S3_SERVICE_CERT_PATH = '/etc/s3-secret'; +config.STS_SERVICE_CERT_PATH = '/etc/sts-secret'; +config.IAM_SERVICE_CERT_PATH = '/etc/iam-secret'; config.MGMT_SERVICE_CERT_PATH = '/etc/mgmt-secret'; config.EXTERNAL_DB_SERVICE_CERT_PATH = '/etc/external-db-secret'; diff --git a/src/util/ssl_utils.js b/src/util/ssl_utils.js index 48b1a04249..28af277e99 100644 --- a/src/util/ssl_utils.js +++ b/src/util/ssl_utils.js @@ -46,6 +46,7 @@ const certs = { S3: new CertInfo(config.S3_SERVICE_CERT_PATH), EXTERNAL_DB: new CertInfo(config.EXTERNAL_DB_SERVICE_CERT_PATH), STS: new CertInfo(config.STS_SERVICE_CERT_PATH), + IAM: new CertInfo(config.IAM_SERVICE_CERT_PATH) }; function generate_ssl_certificate() {