请帮我找出语法错误?

问题描述 投票:0回答:0
{
"Version": "2012-10-17",
"Statement": [
    {
        "Sid": "DenySecretsCreationWrongKey",
        "Effect": "Deny",
        "Action": "secretsmanager:CreateSecret",
        "Resource": "*",
        "Condition": {
            "StringEquals": {
                "secretsmanager:KmsKeyId": [CMK_ARN] #This is line 11
             }
          }
       }
   ]
}

所以我在这个网站上找到了这个scp,链接在下面。我正在尝试使用此 scp 但在链接 14 处出现语法错误。我已发表评论(# 这是上面的第 11 行)

SCP 用于使用 KMS 加密 Secrets Manager 机密

amazon-web-services yaml scp
© www.soinside.com 2019 - 2024. All rights reserved.