A modern, self-hosted backup solution for secure, encrypted backups across local and cloud storage.
const yandexSettings = [
{
label: 'Client ID',
value: 'client_id',
authFieldType: 'client',
fieldType: 'string',
required: true,
default: '',
description: 'OAuth Client Id. Leave blank normally.',
command: '--yandex-client-id',
},
{
label: 'Client Secret',
value: 'client_secret',
fieldType: 'password',
authFieldType: 'client',
required: true,
default: '',
description: 'OAuth Client Secret. Leave blank normally.',
command: '--yandex-client-secret',
},
{
label: 'OAuth Access Token',
value: 'token',
fieldType: 'password',
authFieldType: 'oauth',
required: true,
default: '',
description: 'OAuth Access Token as a JSON blob.',
command: '--yandex-token',
},
{
label: 'Auth URL',
value: 'auth_url',
fieldType: 'string',
required: false,
default: '',
description: 'Auth server URL. Leave blank to use the provider defaults.',
command: '--yandex-auth-url',
},
{
label: 'Token URL',
value: 'token_url',
fieldType: 'string',
required: false,
default: '',
description: 'Token server url. Leave blank to use the provider defaults.',
command: '--yandex-token-url',
},
{
label: 'Hard Delete',
value: 'hard_delete',
fieldType: 'bool',
required: false,
default: false,
description: 'Delete files permanently rather than putting them into the trash.',
command: '--yandex-hard-delete',
},
{
label: 'Encoding',
value: 'encoding',
fieldType: 'encoding',
required: false,
default: 'slash,del,ctl,invalidutf8,dot',
description: 'The encoding for the backend.',
command: '--yandex-encoding',
},
{
label: 'Spoof User Agent',
value: 'spoof_ua',
fieldType: 'bool',
required: false,
default: true,
description:
'Set the user agent to match an official version of the yandex disk client. May help with upload performance.',
command: '--yandex-spoof-ua',
},
{
label: 'Description',
value: 'description',
fieldType: 'string',
required: false,
default: '',
description: 'Description of the Storage.',
command: '--yandex-description',
},
];
export default yandexSettings;