--- title: "Add-VBRCredentials" description: "Creates credentials records. Platform: VMware, Hyper-V Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License This cmdlet provides the following parameter sets: This cmdlet creates a new credentials record that you can use to" canonical: "https://helpcenter.veeam.com/docs/vbr/powershell/add-vbrcredentials.html" breadcrumb: "Veeam PowerShell Reference > Veeam PowerShell Reference > Backup Infrastructure > Credentials > Add-VBRCredentials" dateModified: "2026-08-19" --- # Add-VBRCredentials ## Short Description Creates credentials records. **Platform**: VMware, Hyper-V **Product Edition**: Standard, Enterprise, Enterprise Plus, Veeam Universal License ## Syntax This cmdlet provides the following parameter sets:
Manual (Default)
PSCredential
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
AddToSudoers |
For the Identity/Pubkey authentication method. Defines that a user account is added to sudoers file. Default: (if the |
|
False |
Named |
False |
|
Credential |
Specifies credentials you want to add. Accepts the |
|
True |
Named |
True (ByPropertyName, ByValue) |
|
Description |
Specifies a description for a credentials record. It is recommended to input this value to make credential records easily identified. |
|
False |
Named |
False |
|
ElevateToRoot |
For the Identity/Pubkey authentication method. Defines that non-root users are provided with root account privileges. Default: |
|
False |
Named |
False |
|
FailoverToSu |
Defines that Veeam Backup & Replication will use the su command if the sudo command fails. If you provide this parameter, Veeam Backup & Replication will failover to the su command if sudo command fails. Otherwise, if sudo fails Veeam Backup & Replication will not be able to add Linux credentials records. Default: |
|
False |
Named |
False |
|
Passphrase |
Specifies a passphrase for a Linux private key on the backup server. |
|
False |
Named |
False |
|
Password |
Specifies a password you want to use for authenticating with instances of your virtual infrastructure. Note: This parameter is not required if the |
|
False |
Named |
False |
|
PrivateKey |
For the Identity/Pubkey authentication method. Specifies a private key. |
|
False |
Named |
False |
|
PrivateKeyPath |
For the Identity/Pubkey authentication method. The private key is located at the |
|
False |
Named |
False |
|
RootPassword |
For the Identity/Pubkey authentication method. Specifies a root password for authentication. |
|
False |
Named |
False |
|
SshPort |
For the Identity/Pubkey authentication method. Specifies a number of an SSH port that you want to use to connect to a Linux server. Permitted values: Default: |
|
False |
Named |
False |
|
Type |
Specifies the credentials type: Default: |
|
False |
Named |
False |
|
User |
Specifies a user name you want to use for authenticating with instances of your virtual infrastructure. Note: You should use DOMAIN\Username format for all hosts except ESX/ESXi hosts. |
|
True |
Named |
False |