--- title: "New-VBRMongoDBCustomCredentials" description: "This cmdlet creates custom credentials and temporary certificates for computers included in specific MongoDB replica sets." canonical: "https://helpcenter.veeam.com/docs/vbr/powershell/new-vbrmongodbcustomcredentials.html" breadcrumb: "Veeam PowerShell Reference > Veeam PowerShell Reference > Veeam Plug-Ins for Enterprise Applications, MongoDB Backup and Epic EHR System Protection > Working with Managed Veeam Plug-Ins, MongoDB Backup and Epic EHR System Protection > Application Backup Policy Settings for MongoDB > New-VBRMongoDBCustomCredentials" dateModified: "2026-09-02" --- # New-VBRMongoDBCustomCredentials ## Short Description Creates custom credentials for computers within MongoDB replica sets to be selected for backup operations. **Product Edition**: Standard, Enterprise, Enterprise Plus, Veeam Universal License ## Syntax This cmdlet provides the following parameter sets:
Credentials
TempCertificates
TempCredentials
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Computer |
Specifies the computer whose credentials or temporary certificate you want to create. Accepts the |
True |
Named |
True (ByPropertyName) |
|
|
Credentials |
Specifies the credentials you want to set for individual computers. Accepts the |
|
True |
Named |
True (ByPropertyName) |
|
Endpoint |
Specifies the DNS name or an IP address of the computer that is part of the MongoDB replica set. |
|
False |
Named |
True (ByPropertyName, ByValue) |
|
SSHElevateToRoot |
Defines that the cmdlet will grant the non-root users with root account privileges. |
|
False |
Named |
True (ByPropertyName) |
|
SSHFailoverToSu |
Defines that Veeam Backup & Replication will use the su command if the sudo command fails. |
|
False |
Named |
True (ByPropertyName) |
|
SSHPassword |
Specifies the password you want to use to authenticate against individual computers in a protection group. |
|
True |
Named |
True (ByPropertyName) |
|
SSHPort |
Specifies the port number over which Veeam Backup & Replication communicates with the MongoDB replica set. By default, Veeam Backup & Replication uses port 27017. |
|
False |
Named |
True (ByPropertyName) |
|
SSHRootPassword |
Specifies the root password used for authentication. |
|
False |
Named |
True (ByPropertyName) |
|
SSHTempCredentials |
Defines that the cmdlet will use single-use credentials to access Linux-based machines. |
|
True |
Named |
True (ByPropertyName) |
|
SSHUser |
Specifies the user name you want to use to authenticate against individual computers in a protection group. |
|
True |
Named |
True (ByPropertyName) |
|
UseTemporaryCertificate |
Specifies a temporary certificate you want to set for individual computers. Use this parameter to set a temporary certificate to use instead of custom credentials. Note: This parameter is required only if you do not use the |
|
True |
Named |
True (ByPropertyName) |