Minor updates to integration update PR

This commit is contained in:
Tuan Dang
2024-04-21 17:36:54 -07:00
parent c959fa6fdd
commit ca453df9e9
2 changed files with 9 additions and 5 deletions
@@ -68,7 +68,7 @@ export const registerIntegrationRouter = async (server: FastifyZodProvider) => {
.describe(INTEGRATION.CREATE.metadata.secretAWSTag), .describe(INTEGRATION.CREATE.metadata.secretAWSTag),
kmsKeyId: z.string().optional().describe(INTEGRATION.CREATE.metadata.kmsKeyId) kmsKeyId: z.string().optional().describe(INTEGRATION.CREATE.metadata.kmsKeyId)
}) })
.optional() .default({})
}), }),
response: { response: {
200: z.object({ 200: z.object({
@@ -30,13 +30,15 @@ Prerequisites:
"secretsmanager:CreateSecret", "secretsmanager:CreateSecret",
"secretsmanager:UpdateSecret", "secretsmanager:UpdateSecret",
"secretsmanager:TagResource", // if you need to add tags to secrets "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": "*" "Resource": "*"
} }
] ]
} }
``` ```
</Step> </Step>
<Step title="Authorize Infisical for AWS Secrets Manager"> <Step title="Authorize Infisical for AWS Secrets Manager">
Obtain a AWS access key ID and secret access key for your IAM user in IAM > Users > User > Security credentials > Access keys Obtain a AWS access key ID and secret access key for your IAM user in IAM > Users > User > Security credentials > Access keys
@@ -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. Press on the AWS Secrets Manager tile and input your AWS access key ID and secret access key from the previous step.
![integration auth](../../images/integrations/aws/integrations-aws-secret-manager-auth.png) ![integration auth](../../images/integrations/aws/integrations-aws-secret-manager-auth.png)
</Step> </Step>
<Step title="Start integration"> <Step title="Start integration">
Select how you want to integration to work by specifying a number of parameters: Select how you want to integration to work by specifying a number of parameters:
@@ -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 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.
</ParamField> </ParamField>
<ParamField path="Encryption Key" type="string" optional> <ParamField path="Encryption Key" type="string" optional>
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.
</ParamField> </ParamField>
![integration options](../../images/integrations/aws/integrations-aws-secret-manager-options.png) ![integration options](../../images/integrations/aws/integrations-aws-secret-manager-options.png)
@@ -92,5 +95,6 @@ Prerequisites:
<Info> <Info>
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. 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.
</Info> </Info>
</Step> </Step>
</Steps> </Steps>