Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

feat: removed aws elasticache having ca in ui

=0dc3b2e86ac0
diff --git a/frontend/src/pages/secret-manager/SecretDashboardPage/components/ActionBar/CreateDynamicSecretForm/AwsElastiCacheInputForm.tsx b/frontend/src/pages/secret-manager/SecretDashboardPage/components/ActionBar/CreateDynamicSecretForm/AwsElastiCacheInputForm.tsx
index 48bd2012b4..84a3ba0cdd 100644
--- a/frontend/src/pages/secret-manager/SecretDashboardPage/components/ActionBar/CreateDynamicSecretForm/AwsElastiCacheInputForm.tsx
+++ b/frontend/src/pages/secret-manager/SecretDashboardPage/components/ActionBar/CreateDynamicSecretForm/AwsElastiCacheInputForm.tsx
@@ -13,7 +13,6 @@ import {
FilterableSelect,
FormControl,
Input,
- SecretInput,
TextArea
} from "@app/components/v2";
import { useCreateDynamicSecret } from "@app/hooks/api";
@@ -28,8 +27,7 @@ const formSchema = z.object({
region: z.string().trim(),
creationStatement: z.string().trim(),
- revocationStatement: z.string().trim(),
- ca: z.string().optional()
+ revocationStatement: z.string().trim()
}),
defaultTTL: z.string().superRefine((val, ctx) => {
const valMs = ms(val);
@@ -246,23 +244,6 @@ export const AwsElastiCacheInputForm = ({
/>
</div>
<div>
- <Controller
- control={control}
- name="provider.ca"
- render={({ field, fieldState: { error } }) => (
- <FormControl
- isOptional
- label="CA(SSL)"
- isError={Boolean(error?.message)}
- errorText={error?.message}
- >
- <SecretInput
- {...field}
- containerClassName="text-bunker-300 hover:border-primary-400/50 border border-mineshaft-600 bg-mineshaft-900 px-2 py-1.5"
- />
- </FormControl>
- )}
- />
<Accordion type="single" collapsible className="mb-2 w-full bg-mineshaft-700">
<AccordionItem value="advance-statements">
<AccordionTrigger>Modify ElastiCache Statements</AccordionTrigger>
diff --git a/frontend/src/pages/secret-manager/SecretDashboardPage/components/DynamicSecretListView/EditDynamicSecretForm/EditDynamicSecretAwsElastiCacheProviderForm.tsx b/frontend/src/pages/secret-manager/SecretDashboardPage/components/DynamicSecretListView/EditDynamicSecretForm/EditDynamicSecretAwsElastiCacheProviderForm.tsx
index 0015c0c0c9..413eaebfe5 100644
--- a/frontend/src/pages/secret-manager/SecretDashboardPage/components/DynamicSecretListView/EditDynamicSecretForm/EditDynamicSecretAwsElastiCacheProviderForm.tsx
+++ b/frontend/src/pages/secret-manager/SecretDashboardPage/components/DynamicSecretListView/EditDynamicSecretForm/EditDynamicSecretAwsElastiCacheProviderForm.tsx
@@ -13,7 +13,6 @@ import {
Button,
FormControl,
Input,
- SecretInput,
TextArea
} from "@app/components/v2";
import { useUpdateDynamicSecret } from "@app/hooks/api";
@@ -29,8 +28,7 @@ const formSchema = z.object({
region: z.string().trim(),
creationStatement: z.string().trim(),
- revocationStatement: z.string().trim(),
- ca: z.string().optional()
+ revocationStatement: z.string().trim()
})
.partial(),
defaultTTL: z.string().superRefine((val, ctx) => {
@@ -239,23 +237,6 @@ export const EditDynamicSecretAwsElastiCacheProviderForm = ({
/>
</div>
<div>
- <Controller
- control={control}
- name="inputs.ca"
- render={({ field, fieldState: { error } }) => (
- <FormControl
- isOptional
- label="CA(SSL)"
- isError={Boolean(error?.message)}
- errorText={error?.message}
- >
- <SecretInput
- {...field}
- containerClassName="text-bunker-300 hover:border-primary-400/50 border border-mineshaft-600 bg-mineshaft-900 px-2 py-1.5"
- />
- </FormControl>
- )}
- />
<Accordion type="single" collapsible className="mb-2 w-full bg-mineshaft-700">
<AccordionItem value="advance-statements">
<AccordionTrigger>Modify ElastiCache Statements</AccordionTrigger>