Fix retrieval of single encrypted values

This commit is contained in:
Correl Roush 2024-04-02 14:23:36 -04:00
parent 7e023a5f08
commit 7bf6e1ba9c

2
ssm.py
View file

@ -44,7 +44,7 @@ def get_parameters(
client: botocore.client.BaseClient, path: SSMPath, recursive: bool
) -> typing.Iterable[dict]:
try:
parameter = client.get_parameter(Name=str(path))
parameter = client.get_parameter(Name=str(path), WithDecryption=True)
yield parameter.get("Parameter")
return
except client.exceptions.ParameterNotFound: