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
|
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 |
|
False |
Named |
False |
|
Description |
Specifies a description for the OCI account. |
|
False |
Named |
False |
|
Fingerprint |
Specifies the fingerprint of the public API signing key that you registered for the user in OCI. |
|
True |
Named |
False |
|
Name |
Specifies the name you want to assign to the OCI account. |
|
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. |
|
True |
Named |
False |
|
PrivateKeyPassphrase |
Specifies the passphrase for the private API signing key. Use this parameter if the key is encrypted. |
|
False |
Named |
False |
|
Region |
Specifies the identifier of the home region of the tenancy. For example,
To get the list of regions that Veeam Backup & Replication supports, run the |
|
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 |
|
False |
Named |
False |
|
TenantOcid |
Specifies the Oracle Cloud Identifier (OCID) of the tenancy that you want to connect to. |
|
True |
Named |
False |
|
UserOcid |
Specifies the OCID of the OCI user on whose behalf Veeam Backup & Replication will connect to the tenancy. |
|
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. |
|
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:
- Run the
Add-VBROracleCloudAccountcmdlet. Specify the following settings:- Specify the
Nameparameter value. - Specify the
Descriptionparameter value. - Specify the
TenantOcidparameter value. - Specify the
UserOcidparameter value. - Specify the
Fingerprintparameter value. - Specify the
Regionparameter value. - Specify the
PrivateKeyFilePathparameter value. - Provide the
Waitparameter.
- Specify the
- Save the result to the
$sessionvariable to check the result of the account registration.