Add-VBROracleCloudAccount

Short Description

Adds Oracle Cloud Infrastructure accounts to Veeam Backup & Replication.

Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License

Syntax

Add-VBROracleCloudAccount -Name <String> [-Description <String>] -TenantOcid <String> -UserOcid <String>

-Fingerprint <String> -Region <String> -PrivateKeyFilePath <String> [-PrivateKeyPassphrase <String>]

[-AccessKeyId <String>] [-SecretAccessKey <String>] [-Wait] [<CommonParameters>]

Detailed Description

This cmdlet adds an Oracle Cloud Infrastructure account to Veeam Backup & Replication. Veeam Backup & Replication uses this account to connect to your OCI tenancy and restore workloads to OCI.

Parameters

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

AccessKeyId

Specifies the access key ID that Veeam Backup & Replication uses to access OCI Object Storage.

You must specify this parameter together with the SecretAccessKey parameter.

String

False

Named

False

Description

Specifies a description for the OCI account.

String

False

Named

False

Fingerprint

Specifies the fingerprint of the public API signing key that you registered for the user in OCI.

String

True

Named

False

Name

Specifies the name you want to assign to the OCI account.

String

True

Named

False

PrivateKeyFilePath

Specifies the path to the file that contains the private API signing key in the PEM format. The key must match the public key that you registered for the user in OCI.

Veeam Backup & Replication reads the key from this file when you run the cmdlet.

String

True

Named

False

PrivateKeyPassphrase

Specifies the passphrase for the private API signing key. Use this parameter if the key is encrypted.

String

False

Named

False

Region

Specifies the identifier of the home region of the tenancy. For example, eu-frankfurt-1.

To get the list of regions that Veeam Backup & Replication supports, run the Get-VBROracleCloudAvailableRegionReturns Oracle Cloud Infrastructure regions that you can use as the home region of an account. cmdlet.

String

True

Named

False

SecretAccessKey

Specifies the secret key that Veeam Backup & Replication uses to access OCI Object Storage.

You must specify this parameter together with the AccessKeyId parameter.

String

False

Named

False

TenantOcid

Specifies the Oracle Cloud Identifier (OCID) of the tenancy that you want to connect to.

String

True

Named

False

UserOcid

Specifies the OCID of the OCI user on whose behalf Veeam Backup & Replication will connect to the tenancy.

String

True

Named

False

Wait

Defines that the cmdlet will wait for the account registration to complete before it returns the session.

If you do not provide this parameter, the cmdlet will return the session immediately after it starts the registration.

SwitchParameter

False

Named

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.

Output Object

The cmdlet returns the VBROracleCloudAccountSession object that contains the details of the account registration session.

Examples

Adding Oracle Cloud Infrastructure Account

This example shows how to add an OCI account and wait for the registration to complete.

$session = Add-VBROracleCloudAccount -Name "My OCI Account" -Description "Account for restore" -TenantOcid "ocid1.tenancy.oc1..exampletenancy" -UserOcid "ocid1.user.oc1..exampleuser" -Fingerprint "12:34:56:78:9a:bc:de:f0:12:34:56:78:9a:bc:de:f0" -Region "eu-frankfurt-1" -PrivateKeyFilePath "C:\Keys\oci_api_key.pem" -Wait

Perform the following steps:

  1. Run the Add-VBROracleCloudAccount cmdlet. Specify the following settings:
    • Specify the Name parameter value.
    • Specify the Description parameter value.
    • Specify the TenantOcid parameter value.
    • Specify the UserOcid parameter value.
    • Specify the Fingerprint parameter value.
    • Specify the Region parameter value.
    • Specify the PrivateKeyFilePath parameter value.
    • Provide the Wait parameter.
  2. Save the result to the $session variable to check the result of the account registration.

Page updated 2026-11-09

Page content applies to build 13.2.0.193