diff --git a/docs/integrations/app-connections/aws.mdx b/docs/integrations/app-connections/aws.mdx index 30181213f..cb8a5bce0 100644 --- a/docs/integrations/app-connections/aws.mdx +++ b/docs/integrations/app-connections/aws.mdx @@ -101,7 +101,7 @@ Infisical supports two methods for connecting to AWS. ] } ``` - If using a custom KMS key, be sure to add the IAM role as a key user. ![KMS Key IAM Role User](/images/app-connections/aws/kms-key-user.png) + If using a custom KMS key, be sure to add the IAM user or role as a key user. ![KMS Key IAM Role User](/images/app-connections/aws/kms-key-user.png) Use the following custom policy to grant the minimum permissions required by Infisical to sync secrets to AWS Parameter Store: @@ -134,7 +134,7 @@ Infisical supports two methods for connecting to AWS. ] } ``` - If using a custom KMS key, be sure to add the IAM role as a key user. ![KMS Key IAM Role User](/images/app-connections/aws/kms-key-user.png) + If using a custom KMS key, be sure to add the IAM user or role as a key user. ![KMS Key IAM Role User](/images/app-connections/aws/kms-key-user.png) @@ -248,7 +248,7 @@ Infisical supports two methods for connecting to AWS. ] } ``` - If using a custom KMS key, be sure to add the IAM role as a key user. ![KMS Key IAM Role User](/images/app-connections/aws/kms-key-user.png) + If using a custom KMS key, be sure to add the IAM user or role as a key user. ![KMS Key IAM Role User](/images/app-connections/aws/kms-key-user.png) Use the following custom policy to grant the minimum permissions required by Infisical to sync secrets to AWS Parameter Store: @@ -281,7 +281,7 @@ Infisical supports two methods for connecting to AWS. ] } ``` - If using a custom KMS key, be sure to add the IAM role as a key user. ![KMS Key IAM Role User](/images/app-connections/aws/kms-key-user.png) + If using a custom KMS key, be sure to add the IAM user or role as a key user. ![KMS Key IAM Role User](/images/app-connections/aws/kms-key-user.png) diff --git a/frontend/src/components/secret-syncs/forms/CreateSecretSyncForm.tsx b/frontend/src/components/secret-syncs/forms/CreateSecretSyncForm.tsx index dab582f8a..cd395a400 100644 --- a/frontend/src/components/secret-syncs/forms/CreateSecretSyncForm.tsx +++ b/frontend/src/components/secret-syncs/forms/CreateSecretSyncForm.tsx @@ -7,7 +7,7 @@ import { zodResolver } from "@hookform/resolvers/zod"; import { twMerge } from "tailwind-merge"; import { createNotification } from "@app/components/notifications"; -import { Button, FormControl, Modal, ModalContent, Switch } from "@app/components/v2"; +import { Button, FormControl, Switch } from "@app/components/v2"; import { useWorkspace } from "@app/context"; import { SECRET_SYNC_MAP } from "@app/helpers/secretSyncs"; import { @@ -165,108 +165,87 @@ export const CreateSecretSyncForm = ({ destination, onComplete, onCancel }: Prop ); return ( - <> -
- - - - {FORM_TABS.map((tab, index) => ( - { - e.preventDefault(); - const isEnabled = await isTabEnabled(index); - setSelectedTabIndex((prev) => (isEnabled ? index : prev)); - }} - className={({ selected }) => - `w-30 -mb-[0.14rem] ${index > selectedTabIndex ? "opacity-30" : ""} px-4 py-2 text-sm font-medium outline-none disabled:opacity-60 ${ - selected - ? "border-b-2 border-mineshaft-300 text-mineshaft-200" - : "text-bunker-300" - }` - } - key={tab.key} - > - {index + 1}. {tab.name} - - ))} - - - - - - - - - - - { - return ( - + + + + {FORM_TABS.map((tab, index) => ( + { + e.preventDefault(); + const isEnabled = await isTabEnabled(index); + setSelectedTabIndex((prev) => (isEnabled ? index : prev)); + }} + className={({ selected }) => + `w-30 -mb-[0.14rem] ${index > selectedTabIndex ? "opacity-30" : ""} px-4 py-2 text-sm font-medium outline-none disabled:opacity-60 ${ + selected + ? "border-b-2 border-mineshaft-300 text-mineshaft-200" + : "text-bunker-300" + }` + } + key={tab.key} + > + {index + 1}. {tab.name} + + ))} + + + + + + + + + + + { + return ( + + - -

Auto-Sync {value ? "Enabled" : "Disabled"}

-
-
- ); - }} - /> -
- - - - - - -
-
-
+

Auto-Sync {value ? "Enabled" : "Disabled"}

+ +
+ ); + }} + /> +
+ + + + + + +
+
+
-
- + {selectedTabIndex > 0 && ( + - {selectedTabIndex > 0 && ( - - )} -
-
- - -
-
- - Secret Sync Behavior -
-

- Secret Syncs are the source of truth for connected third-party services. Any secret - not present or imported in Infisical before syncing will be overwritten, and changes - made directly in the connected service may also be overwritten by future syncs from - Infisical. -

-
-
-
- + )} + + ); };