Answer File Parameters

The answer file is a JSON file with the settings that Veeam Software Appliance applies during the automated initial configuration. The file must contain the veeamadmin section. All other sections are optional. For information on how to provide the answer file, see Automating Initial Configuration.

The following example configures the veeamadmin and veeamso accounts, NTP servers and an additional user account with an API key:

{

  "veeamadmin": {

    "password": "Ex@mp13C0mpl3xP@ssw0rd",

    "mfaSecretKey": "JVDECICTMVRXEZLU"

  },

  "veeamso": {

    "password": "Ex@mp13C0mpl3xP@ssw0rd2",

    "mfaSecretKey": "KRSXG5CTMVRXEZLU",

    "recoveryToken": "3F2504E0-4F89-11D3-9A0C-0305E82C3301"

  },

  "ntp": {

    "servers": ["myntp01.example.local", "myntp02.example.local"],

    "runSync": true

  },

  "users": [

    {

      "name": "monitoringadmin",

      "password": "Ex@mp13C0mpl3xP@ssw0rd3",

      "role": "Host Administrator",

      "isTempPassword": false,

      "isMfaEnabled": false,

      "apiKeys": [

        {

          "value": "vhmk_0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef",

          "name": "monitoring-key",

          "scopes": ["monitoring"],

          "validForDays": 365

        }

      ]

    }

  ]

}

Account Parameters

The veeamadmin and veeamso sections can contain the following parameters:

Account Parameters

Parameter

Required

Default

Description

veeamadmin.password

Yes

Password for the veeamadmin account.

veeamso.password

No

Password for the veeamso account.

veeamadmin.isPasswordCrypted

veeamso.isPasswordCrypted

users[].isPasswordCrypted

No

false

Specify true if the password parameter contains a crypt(3) hash instead of a plain-text password.

veeamadmin.isMfaEnabled

veeamso.isMfaEnabled

users[].isMfaEnabled

No

true

Specify true to enable multi-factor authentication (MFA) for the account. Specify false to configure MFA later.

For additional user accounts, you can specify this parameter only if role is Host Administrator or Security Officer.

For additional user accounts with the Security Officer role, you cannot specify false.

veeamadmin.mfaSecretKey

veeamso.mfaSecretKey

users[].mfaSecretKey

No

MFA secret key, specified as a 16-character Base32-encoded string.

You cannot use this parameter if isTempPassword is true.

For additional user accounts, you can specify this parameter only if role is Host Administrator or Security Officer. You must also specify false for isTempPassword.

If you do not specify this parameter for veeamadmin or veeamso and MFA is enabled, the user configures MFA at the first login.

veeamadmin.isTempPassword

veeamso.isTempPassword

users[].isTempPassword

No

false

Specify true to require the user to change the password at the first login.

For additional user accounts (except accounts with the Service Account role), the default value is true.

You must also specify the password parameter.

veeamso.isEnabled

No

true

Specify false to disable the Security Officer account.

If you specify false, the appliance ignores the other veeamso parameters.

veeamso.recoveryToken

No

Recovery token for the Security Officer account, specified as hexadecimal values in the {8*}-{4*}-{4*}-{4*}-{12*} format.

You can generate an appropriate string with the New-Guid cmdlet in Microsoft PowerShell.

Passwords must meet the following requirements:

  • 15 characters minimum.
  • 1 upper case character.
  • 1 lower case character.
  • 1 numeric character.
  • 1 special character.
  • No more than 4 characters of the same class in a row. For example, you cannot use more than 4 lowercase or 4 numerical characters in sequence.
  • The passwords for the veeamadmin, veeamso and additional user accounts must be different.

NTP Parameters

The ntp section can contain the following parameters:

NTP Parameters

Parameter

Required

Default

Description

ntp.servers

No

List of NTP server addresses. The servers replace the NTP servers configured on the appliance.

The appliance adds the servers without NTS. You can enable NTS after the initial configuration.

ntp.runSync

No

false

Specify true to synchronize time with the NTP servers.

It is recommended that you specify true if MFA is enabled.

ntp.strict

No

true

Specify false to continue the initial configuration if the appliance fails to configure NTP or synchronize time.

Domain Parameters

If you specify the domain section, it must contain the address parameter and either the oneTimePassword or kerberosTicketBase64 parameter.

You cannot specify the credentials of a domain account in the answer file. To join the appliance to the domain with credentials, omit the domain section and join the domain after the initial configuration. For more information on domain settings, see Managing Domain Settings.

The section can contain the following parameters:

Domain Parameters

Parameter

Required

Default

Description

domain.address

Yes

Domain name or FQDN of a specific domain controller.

domain.oneTimePassword

Yes

One-time password of the pre-staged computer account.

Specify either this parameter or kerberosTicketBase64.

domain.kerberosTicketBase64

Yes

Base64-encoded MIT Kerberos credentials cache.

Specify either this parameter or oneTimePassword.

domain.computerOU

No

Organizational unit for the computer account.

Additional User Account Parameters

For each additional user account, you can specify the following parameters:

Additional User Account Parameters

Parameter

Required

Default

Description

users[].name

Yes

Name of an additional user account.

You cannot specify veeamadmin or veeamso.

users[].password

Yes

Password for the user account.

users[].role

Yes

Role of the user account.

Possible values:

  • Host Administrator
  • Security Officer
  • User
  • Service Account

You can specify Security Officer only if the Security Officer account is enabled.

For more information on roles, see Configuring Users.

users[].description

No

Description of the user account.

users[].vbrRoles

No

List of Veeam Backup & Replication roles to assign to the user account.

Possible values: Backup Administrator, Backup Operator, Backup Viewer, Incident API Operator, Restore Operator, Security Administrator, Tape Operator.

Applies only if role is Host Administrator or User. If role is Host Administrator, you can assign only the Backup Administrator role.

The isPasswordCrypted, isMfaEnabled, mfaSecretKey and isTempPassword parameters described in Account Parameters also apply to additional user accounts.

API Key Parameters

If an additional user account has the Host Administrator role, you can add API keys to it. For each API key, you can specify the following parameters:

API Key Parameters

Parameter

Required

Default

Description

users[].apiKeys[].value

Yes

Value of the API key. The value must start with vhmk_, be at least 64 characters long and contain only letters, digits and underscores.

users[].apiKeys[].name

Yes

Name of the API key.

The name must start with a letter and contain only letters, digits, hyphens and underscores. The name must be unique and must not start with apikey_.

users[].apiKeys[].description

No

Description of the API key.

users[].apiKeys[].scopes

Yes

List of scopes to assign to the API key.

Possible values: appliance, certificates, configurationRestore, events, monitoring, network, power, security, services, storage, supportBundles, tasks, time.

users[].apiKeys[].validForDays

Yes

Number of days during which the API key is valid, from 1 to 365.

High Availability, Data Collection and License Parameters

The highAvailability, externalManagersInstallation and vbrLicense sections can contain the following parameters:

High Availability, Data Collection and License Parameters

Parameter

Required

Default

Description

highAvailability.enabled

No

false

Specify true to enable the High Availability option.

You must still add the appliance to a High Availability cluster.

For more information, see Assembling High Availability Cluster.

highAvailability.timeout

No

28800

Time in seconds during which you can assemble a High Availability cluster with the appliance. If you do not assemble the cluster within this time, the High Availability option is disabled.

externalManagersInstallation.enabled

No

false

Specify true to allow data collection for remote monitoring and management systems.

For more information, see Enabling Remote Data Collection.

externalManagersInstallation.timeout

No

1800

Time in seconds during which remote monitoring and management systems can install their agents on the appliance, up to 604800.

vbrLicense.licenseBase64

No

Base64-encoded content of the Veeam Backup & Replication license file.

Page updated 2026-12-01

Page content applies to build 13.2.0.193