This is an archive version of the document. To get the most up-to-date information, see the current version.

Set-VBORestAPISettings

Short Description

Modifies REST API settings.

Syntax

Set-VBORestAPISettings [-EnableService <SwitchParameter>] [-AuthTokenLifeTime <Int32>] [-HTTPSPort <Int32>] [-CertificateFilePath <String>] [-CertificatePassword <SecureString>]  [<CommonParameters>]

Detailed Description

This cmdlet modifies REST API settings that are used by Veeam Backup for Microsoft 365 REST API Service. For SSL connections, Veeam Backup for Microsoft 365 REST API uses SSL certificate.

To modify settings, you need to enter the necessary parameters with new values. The parameters that you omit will remain unchanged.

Set-VBORestAPISettings Note

This cmdlet accepts the SecureString type. Use Microsoft PowerShell standard capabilities to convert your password into the SecureString.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Accept Wildcard Characters

EnableService

Defines that the cmdlet will start Veeam Backup for Microsoft 365 REST API Service.

SwitchParameter

False

Named

False

False

AuthTokenLifeTime

Specifies the lifetime value for the authentication token (minutes).

Default: 60

Int32

False

Named

False

False

HTTPSPort

Specifies a port number for server-client communication over HTTPS protocol.

Default: 4443

Int32

False

Named

False

False

CertificateFilePath

Specifies a path to the SSL certificate file.

String

False

Named

False

False

CertificatePassword

Specifies a password for the SSL certificate.

SecureString

False

Named

False

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.

Examples

Set-VBORestAPISettingsExample 1. Modifying REST API Settings

Related Commands

ConvertTo-SecureString