Answer File Parameters

The answer file is a JSON file with the settings that Veeam Infrastructure 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 Hardened Repository role, the veeamadmin and veeamso accounts, NTP servers and an additional user account with an API key:

{

  "applianceRole": {

    "role": "veeam-lhr"

  },

  "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

        }

      ]

    }

  ]

}

Appliance Role Parameters

The applianceRole section can contain the following parameters:

Appliance Role Parameters

Parameter

Required

Default

Description

applianceRole.role

No

vbproxy

Role of the appliance.

Possible values: vbproxy (Infrastructure Server), veeam-lhr (Hardened Repository).

If you specify veeam-lhr for this parameter and false for veeamso.isEnabled, you must enable MFA for the veeamadmin account and all additional Host Administrator accounts.

For more information on roles, see Step 3. Select Appliance Role.

applianceRole.iSCSI

No

false

Specify true to use the Infrastructure Server with iSCSI/FC/NVMe-oF role.

You can specify true only if applianceRole.role is vbproxy.

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.

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, 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.

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

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.

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, 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.

Page updated 2026-12-01

Page content applies to build 13.2.0.193