Set-VBROracleCloudAccount

Short Description

Modifies Oracle Cloud Infrastructure accounts.

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

Syntax

Set-VBROracleCloudAccount -Account <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 modifies settings of an Oracle Cloud Infrastructure account added to Veeam Backup & Replication.

Note

To modify settings, specify new values for the necessary parameters. The cmdlet will overwrite the previous parameter values with new values. The parameters that you omit will remain unchanged.

Parameters

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

AccessKeyId

Specifies the new 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

Account

Specifies the OCI account that you want to modify.

Accepts the VBROracleCloudAccount object. To get this object, run the Get-VBROracleCloudAccountReturns Oracle Cloud Infrastructure accounts. cmdlet.

VBROracleCloudAccount

True

Named

True (ByPropertyName, ByValue)

Description

Specifies a new description for the OCI account.

To remove the description, specify an empty string.

String

False

Named

False

Fingerprint

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

If you replace the private key, specify this parameter together with the PrivateKeyFilePath parameter.

String

False

Named

False

Name

Specifies a new name for the OCI account.

String

False

Named

False

PrivateKeyFilePath

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

Specify this parameter together with the Fingerprint parameter.

String

False

Named

False

PrivateKeyPassphrase

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

You cannot change the passphrase without specifying the PrivateKeyFilePath parameter.

String

False

Named

False

Region

Specifies the identifier of the new 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

False

Named

False

SecretAccessKey

Specifies the new 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 new OCID of the tenancy.

String

False

Named

False

UserOcid

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

String

False

Named

False

Wait

Defines that the cmdlet will wait for the account update 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 update.

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 update session.

Examples

Set-VBROracleCloudAccountExample 1. Changing Account Name and Description

This example shows how to change the name and description of the Oracle Cloud Infrastructure account.

$account = Get-VBROracleCloudAccount -Name "My OCI Account"

Set-VBROracleCloudAccount -Account $account -Name "OCI Restore Account" -Description "Account for restore to Oracle Cloud" -Wait

Perform the following steps:

  1. Run the Get-VBROracleCloudAccountReturns Oracle Cloud Infrastructure accounts. cmdlet. Specify the Name parameter value. Save the result to the $account variable.
  2. Run the Set-VBROracleCloudAccount cmdlet. Specify the following settings:
    • Set the $account variable as the Account parameter value.
    • Specify the Name parameter value.
    • Specify the Description parameter value.
    • Provide the Wait parameter.

Set-VBROracleCloudAccountExample 2. Replacing Private Key of Account

This example shows how to replace the private API signing key of the Oracle Cloud Infrastructure account. Specify the fingerprint of the new key together with the key file.

$account = Get-VBROracleCloudAccount -Name "My OCI Account"

Set-VBROracleCloudAccount -Account $account -PrivateKeyFilePath "C:\Keys\oci_api_key_new.pem" -Fingerprint "12:34:56:78:9a:bc:de:f0:12:34:56:78:9a:bc:de:f0" -Wait

Perform the following steps:

  1. Run the Get-VBROracleCloudAccountReturns Oracle Cloud Infrastructure accounts. cmdlet. Specify the Name parameter value. Save the result to the $account variable.
  2. Run the Set-VBROracleCloudAccount cmdlet. Specify the following settings:
    • Set the $account variable as the Account parameter value.
    • Specify the PrivateKeyFilePath parameter value.
    • Specify the Fingerprint parameter value.
    • Provide the Wait parameter.

Page updated 2026-11-09

Page content applies to build 13.2.0.193