diff --git a/apps/studio/components/interfaces/Storage/StorageSettings/CreateCredentialModal.tsx b/apps/studio/components/interfaces/Storage/StorageSettings/CreateCredentialModal.tsx index e0a9ff4e8ec..90fe0ebb353 100644 --- a/apps/studio/components/interfaces/Storage/StorageSettings/CreateCredentialModal.tsx +++ b/apps/studio/components/interfaces/Storage/StorageSettings/CreateCredentialModal.tsx @@ -16,6 +16,7 @@ import { DialogTitle, DialogTrigger, Form, + FormControl, FormField, Tooltip, TooltipContent, @@ -51,7 +52,7 @@ export const CreateCredentialModal = ({ visible, onOpenChange }: CreateCredentia const FormSchema = z.object({ description: z.string().min(3, { - message: 'Description must be at least 3 characters long', + message: 'Name must be at least 3 characters long', }), }) const form = useForm>({ @@ -110,6 +111,7 @@ export const CreateCredentialModal = ({ visible, onOpenChange }: CreateCredentia { if (showSuccess) e.preventDefault() }} @@ -117,10 +119,10 @@ export const CreateCredentialModal = ({ visible, onOpenChange }: CreateCredentia {showSuccess ? ( <> - Save your new S3 access keys + Save your new access key - You won't be able to see them again. If you lose these access keys, you'll need to - create a new ones. + Copy the access key ID and secret now. The secret won't be shown again. If you lose + it, create a new access key. @@ -128,7 +130,7 @@ export const CreateCredentialModal = ({ visible, onOpenChange }: CreateCredentia - + @@ -146,10 +148,9 @@ export const CreateCredentialModal = ({ visible, onOpenChange }: CreateCredentia ) : ( <> - Create new S3 access keys + Create new access key - S3 access keys provide full access to all S3 operations across all buckets and - bypass any existing RLS policies. + This access key grants full access to every bucket and bypasses RLS policies. @@ -159,20 +160,22 @@ export const CreateCredentialModal = ({ visible, onOpenChange }: CreateCredentia ( - - + + + + )} />