You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the environment variable POWERTOOLS_PARAMETERS_SSM_DECRYPT is set to true, a call to get_multiple parameters should automatically decrypt the values, as is the way with a call to get.
Current Behaviour
The POWERTOOLS_PARAMETERS_SSM_DECRYPT is ignored when calling get_multiple and only the explicit decrypt argument is respected.
Code snippet
fromaws_lambda_powertools.utilities.parameters.ssmimportSSMProviderimportosos.environ['POWERTOOLS_PARAMETERS_SSM_DECRYPT'] ='true'ssm_provider=SSMProvider()
for_, vinssm_provider.get_multiple('/some/parameters').items():
print(v) # Still encrypted
Thanks for opening your first issue here! We'll come back to you as soon as we can.
In the meantime, check out the #python channel on our Powertools for AWS Lambda Discord: Invite link
Expected Behaviour
When the environment variable
POWERTOOLS_PARAMETERS_SSM_DECRYPT
is set totrue
, a call toget_multiple
parameters should automatically decrypt the values, as is the way with a call toget
.Current Behaviour
The
POWERTOOLS_PARAMETERS_SSM_DECRYPT
is ignored when callingget_multiple
and only the explicitdecrypt
argument is respected.Code snippet
Possible Solution
#3241
Steps to Reproduce
Please see code snippet
Powertools for AWS Lambda (Python) version
latest
AWS Lambda function runtime
3.10
Packaging format used
PyPi
Debugging logs
No response
The text was updated successfully, but these errors were encountered: