added kms key delector for parameter store

This commit is contained in:
Vladyslav Matsiiako
2024-04-28 15:12:50 -07:00
parent 47aca3f3e2
commit 0c324e804c
8 changed files with 70 additions and 20 deletions
@@ -148,7 +148,7 @@ export default function AWSSecretManagerCreateIntegrationPage() {
}]
}
: {}),
...((kmsKeyId && integrationAuthAwsKmsKeys?.filter(key => key.id === kmsKeyId)[0]?.alias !== "alias/aws/secretsmanager") ?
...((kmsKeyId && integrationAuthAwsKmsKeys?.filter(key => key.id === kmsKeyId)[0]?.alias !== "default") ?
{
kmsKeyId
}: {})