From 451ad6f09ce298e709720c19e218ed4e0b3722b3 Mon Sep 17 00:00:00 2001 From: Praful Rakhade <99539100+Prafulrakhade@users.noreply.github.com> Date: Wed, 20 Mar 2024 16:55:47 +0530 Subject: [PATCH] [DSD-4835] Updated websub-service.toml Signed-off-by: Praful Rakhade <99539100+Prafulrakhade@users.noreply.github.com> --- websub-service.toml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/websub-service.toml b/websub-service.toml index 59728e25aa1..6e6d105ed72 100644 --- a/websub-service.toml +++ b/websub-service.toml @@ -87,6 +87,13 @@ CONSOLIDATOR_BASE_URL = "${mosip.consolidator.url}" # consolidator health endpoint CONSOLIDATOR_HEALTH_ENDPOINT = "/consolidator/actuator/health" +#Encryption key that will be used to encrypt / decrypt the hub secret +HUB_SECRET_ENCRYPTION_KEY = "${hub.secret.encryption.key}" + +# Below config will allow base64-encoded-bytes / alpha-numeric. +# Recommended to use base64-encoded-bytes since alpha-numeric is considered less secure. This is just given to ensure the backward compatiblity +HUB_SECRET_ENCRYPTION_KEY_FORMAT = "alpha-numeric" + [ballerina.http.accessLogConfig] # Enable printing access logs in console console = true # Default is false