A modern, self-hosted backup solution for secure, encrypted backups across local and cloud storage.
import s3Options from './_s3Options';
const s3CompatibleSettings = [
{
label: 'Endpoint',
value: 'endpoint',
fieldType: 'string',
authFieldType: 'client',
required: true,
default: '',
description: 'Endpoint for S3-compatible storage API endpoint.',
command: '--s3-endpoint',
},
{
label: 'Access Key ID',
value: 'access_key_id',
fieldType: 'string',
authFieldType: 'client',
required: true,
default: '',
description: 'Access Key ID for S3-compatible storage.',
command: '--s3-access-key-id',
condition: [{ env_auth: false }],
},
{
label: 'Secret Access Key',
value: 'secret_access_key',
fieldType: 'string',
authFieldType: 'client',
required: true,
default: '',
description: 'Secret Access Key (password) for S3-compatible storage.',
command: '--s3-secret-access-key',
condition: [{ env_auth: false }],
},
{
label: 'Bucket Name',
value: 'bucket',
fieldType: 'string',
authFieldType: 'client',
required: true,
default: '',
description: 'Your S3-compatible storage Bucket Name. eg: pluton-backup',
command: '',
},
{
label: 'Region',
value: 'region',
fieldType: 'string',
authFieldType: 'client',
required: false,
default: '',
description: 'Region to connect to for S3-compatible storage.',
command: '--s3-region',
},
{
label: 'Location Constraint',
value: 'location_constraint',
fieldType: 'string',
authFieldType: 'client',
required: false,
default: '',
description:
'Location constraint - must be set to match the Region. Used when creating buckets only.',
command: '--s3-location-constraint',
},
{
label: 'ACL',
value: 'acl',
fieldType: 'select',
allowCustom: true,
authFieldType: 'client',
required: false,
default: '',
description:
'Canned ACL used when creating buckets and storing or copying objects for S3-compatible storage. This ACL is used for creating objects and, if Bucket ACL is not set, for creating buckets too.',
command: '--s3-acl',
options: [
{ label: 'Default (private)', value: '' },
{ label: 'Private', value: 'private' },
{ label: 'Public Read', value: 'public-read' },
{ label: 'Public Read/Write', value: 'public-read-write' },
{ label: 'Authenticated Read', value: 'authenticated-read' },
{ label: 'Bucket Owner Read', value: 'bucket-owner-read' },
{ label: 'Bucket Owner Full Control', value: 'bucket-owner-full-control' },
{ label: 'Custom', value: 'custom' },
],
},
...s3Options,
];
export default s3CompatibleSettings;