Fix retrieval of single encrypted values
This commit is contained in:
parent
7e023a5f08
commit
7bf6e1ba9c
1 changed files with 1 additions and 1 deletions
2
ssm.py
2
ssm.py
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue