From 8519896b649c88ef8696d1c52da85fe1a4a42d67 Mon Sep 17 00:00:00 2001 From: heitorlessa Date: Tue, 19 Dec 2023 22:18:16 +0100 Subject: [PATCH] fix: encryption context propagation Signed-off-by: heitorlessa --- aws_lambda_powertools/utilities/_data_masking/base.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aws_lambda_powertools/utilities/_data_masking/base.py b/aws_lambda_powertools/utilities/_data_masking/base.py index 652ac302eb3..ea221607129 100644 --- a/aws_lambda_powertools/utilities/_data_masking/base.py +++ b/aws_lambda_powertools/utilities/_data_masking/base.py @@ -120,7 +120,7 @@ def _apply_action( data=data, fields=fields, action=action, - options=provider_options, + provider_options=provider_options, **encryption_context, ) else: @@ -226,7 +226,7 @@ def _apply_action_to_fields( current_dict, action, last_key, - provider_options, + provider_options=provider_options, **encryption_context, )