diff --git a/backend/src/server/routes/v1/integration-router.ts b/backend/src/server/routes/v1/integration-router.ts
index 54e876783..f908aa1fc 100644
--- a/backend/src/server/routes/v1/integration-router.ts
+++ b/backend/src/server/routes/v1/integration-router.ts
@@ -68,7 +68,7 @@ export const registerIntegrationRouter = async (server: FastifyZodProvider) => {
.describe(INTEGRATION.CREATE.metadata.secretAWSTag),
kmsKeyId: z.string().optional().describe(INTEGRATION.CREATE.metadata.kmsKeyId)
})
- .optional()
+ .default({})
}),
response: {
200: z.object({
diff --git a/docs/integrations/cloud/aws-secret-manager.mdx b/docs/integrations/cloud/aws-secret-manager.mdx
index 3ecf7771e..2ab45c620 100644
--- a/docs/integrations/cloud/aws-secret-manager.mdx
+++ b/docs/integrations/cloud/aws-secret-manager.mdx
@@ -30,13 +30,15 @@ Prerequisites:
"secretsmanager:CreateSecret",
"secretsmanager:UpdateSecret",
"secretsmanager:TagResource", // if you need to add tags to secrets
- "kms:ListKeys" // if you need to specify the KMS key
+ "kms:ListKeys", // if you need to specify the KMS key
+ "kms:ListAliases" // if you need to specify the KMS key
],
"Resource": "*"
}
]
}
```
+
Obtain a AWS access key ID and secret access key for your IAM user in IAM > Users > User > Security credentials > Access keys
@@ -44,7 +46,7 @@ Prerequisites:



-
+
Navigate to your project's integrations tab in Infisical.

@@ -52,6 +54,7 @@ Prerequisites:
Press on the AWS Secrets Manager tile and input your AWS access key ID and secret access key from the previous step.

+
Select how you want to integration to work by specifying a number of parameters:
@@ -66,7 +69,7 @@ Prerequisites:
The region that you want to integrate with in AWS Secrets Manager.
- The secret name/path in AWS into which you want to sync the secrets from Infisical.
+ The secret name/path in AWS into which you want to sync the secrets from Infisical.

@@ -77,7 +80,7 @@ Prerequisites:
The Key/Value of a tag that will be added to secrets in AWS. Please note that it is possible to add multiple tags via API.
- The alias/ID of the AWS KMS key used for encryption. Please note that keys should be enabled in order to work.
+ The alias/ID of the AWS KMS key used for encryption. Please note that key should be enabled in order to work and the IAM user should have access to it.

@@ -92,5 +95,6 @@ Prerequisites:
Please note that upon deleting secrets in Infisical, AWS Secrets Manager immediately makes the secrets inaccessible but only schedules them for deletion after at least 7 days.
+