--- title: "Set-VBROracleCloudAccount" description: "This cmdlet modifies settings of an Oracle Cloud Infrastructure account added to Veeam Backup & Replication. To modify settings, specify new values for the necessary parameters. The cmdlet will overwrite the previous parameter values with new values." canonical: "https://helpcenter.veeam.com/docs/vbr/powershell/set-vbroraclecloudaccount.html" breadcrumb: "Veeam PowerShell Reference > Veeam PowerShell Reference > Data Recovery > Restore to Oracle Cloud Infrastructure > Recovery > Set-VBROracleCloudAccount" dateModified: "2026-11-09" --- # Set-VBROracleCloudAccount ## Short Description Modifies Oracle Cloud Infrastructure accounts. **Product Edition**: Standard, Enterprise, Enterprise Plus, Veeam Universal License ## Syntax ``` Set-VBROracleCloudAccount -Account [-Name ] [-Description ] [-TenantOcid ] [-UserOcid ] [-Fingerprint ] [-Region ] [-PrivateKeyFilePath ] [-PrivateKeyPassphrase ] [-AccessKeyId ] [-SecretAccessKey ] [-Wait] [] ``` ## 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

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-VBROracleCloudAccount 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-VBROracleCloudAvailableRegion 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

`` This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see [ Microsoft Docs](https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_commonparameters?view=powershell-7). ## Output Object The cmdlet returns the [`VBROracleCloudAccountSession`](vbroraclecloudaccountsession.md) object that contains the details of the account update session. ## Examples ::: example ### Example 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-VBROracleCloudAccount`](get-vbroraclecloudaccount.md) 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. ::: ::: example ### Example 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-VBROracleCloudAccount`](get-vbroraclecloudaccount.md) 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. :::