There was an error while loading. Please reload this page.
1 parent c4aa843 commit 82d5467Copy full SHA for 82d5467
datadog_lambda/metric.py
@@ -145,8 +145,7 @@ def submit_errors_metric(lambda_context):
145
)["SecretString"]
146
elif DD_API_KEY_SSM_NAME:
147
api._api_key = boto3.client("ssm").get_parameter(
148
- Name=DD_API_KEY_SSM_NAME,
149
- WithDecryption=True
+ Name=DD_API_KEY_SSM_NAME, WithDecryption=True
150
)["Parameter"]["Value"]
151
elif DD_KMS_API_KEY:
152
api._api_key = boto3.client("kms").decrypt(
0 commit comments