From afdef01a4c9b60241142cd3a7efefb271c42aec9 Mon Sep 17 00:00:00 2001 From: Amogh-Bharadwaj Date: Thu, 16 Nov 2023 23:28:28 +0530 Subject: [PATCH] change required params --- ui/app/peers/create/[peerType]/helpers/s3.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ui/app/peers/create/[peerType]/helpers/s3.ts b/ui/app/peers/create/[peerType]/helpers/s3.ts index c085d3df74..caf93acc22 100644 --- a/ui/app/peers/create/[peerType]/helpers/s3.ts +++ b/ui/app/peers/create/[peerType]/helpers/s3.ts @@ -15,7 +15,6 @@ export const s3Setting: PeerSetting[] = [ label: 'Access Key ID', stateHandler: (value, setter) => setter((curr) => ({ ...curr, accessKeyId: value })), - optional: true, tips: 'The AWS access key ID associated with your account. In case of GCS, this is the HMAC access key ID.', helpfulLink: 'https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html', @@ -27,7 +26,6 @@ export const s3Setting: PeerSetting[] = [ tips: 'The AWS secret access key associated with your account. In case of GCS, this is the HMAC secret.', helpfulLink: 'https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html', - optional: true, }, { label: 'Region', @@ -40,7 +38,7 @@ export const s3Setting: PeerSetting[] = [ stateHandler: (value, setter) => setter((curr) => ({ ...curr, roleArn: value })), type: 'password', - tips: 'You may set this instead of the access key ID and secret.', + tips: 'If set, the role ARN will be used to assume the role before accessing the bucket.', helpfulLink: 'https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html#identifiers-arns', optional: true,