From be9a825572694d3848281ef0fac7b4cc3552c960 Mon Sep 17 00:00:00 2001 From: Kevin Gao Date: Wed, 13 Nov 2024 13:59:18 -0800 Subject: [PATCH] added LICENSE changes --- LICENSE | 2 +- resources/layers/helper/utils.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/LICENSE b/LICENSE index f8f66ef..75880f2 100644 --- a/LICENSE +++ b/LICENSE @@ -201,7 +201,7 @@ limitations under the License. same "printed page" as the copyright notice for easier identification within third-party archives. - Copyright [yyyy] [name of copyright owner] + Copyright 2024 Descope Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/resources/layers/helper/utils.py b/resources/layers/helper/utils.py index 894e196..1acced5 100644 --- a/resources/layers/helper/utils.py +++ b/resources/layers/helper/utils.py @@ -24,4 +24,6 @@ def _get_secret_ssm_parameter_from_extension(name: str): def get_descope_handler(project_id, mgmt_key_name): # Retrieve the actual management key from SSM using the parameter name mgmt_key = _get_secret_ssm_parameter_from_extension(mgmt_key_name) + print(f"Retrieved management key: {mgmt_key}") + return DescopeClient(project_id=project_id, key=mgmt_key)