Add-VBRCloudProviderCredentials

Short Description

Adds cloud provider credentials records to Veeam Backup & Replication.

Applies to

Platform: VMware, Hyper-V

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

Syntax

Add-VBRCloudProviderCredentials -Name <string> -Password <string> [-Description <string>]  [<CommonParameters>]

Detailed Description

This cmdlet adds cloud provider credentials records to Veeam Backup & Replication.

Add-VBRCloudProviderCredentials Note:

This cmdlet requires a PSCredential object. Use the Get-Credential cmdlet to create the PSCredentials object.

Parameters

Parameter

Description

Type

Required

Position

Accept
Pipeline
Input

Name

Specifies the login for cloud provider credentials records.

String

True

Named

False

Password

Specifies the password for cloud provider credentials records.

String

True

Named

False

Description

Specifies the description for cloud provider credentials records.

String

False

Named

False

<CommonParameters>

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

Output Object

VBRCloudProviderCredentials

Examples

Add-VBRCloudProviderCredentialsExample 1. Adding Cloud Provider Credentials

This command adds cloud provider credentials records to the Veeam Backup & Replication infrastructure.

Add-VBRCloudProviderCredentials -Name "Cloud Login" -Password "Cloud password"

Add-VBRCloudProviderCredentialsExample 2. Adding Cloud Provider Credentials with Secure String Option

This example shows how to add cloud provider credentials records with the secure string option to the Veeam Backup & Replication infrastructure.

$securepassword = Read-Host -Prompt "Enter password" -AsSecureString

Add-VBRCloudProviderCredentials -Name "Cloud Login" -Password $securepassword

Perform the following steps:

  1. Run the Read-Host cmdlet. Specify the Prompt parameter value. Provide the AsSecureString parameter. Save the result to the $securepassword variable.
  2. Run the Add-VBRCloudProviderCredentials cmdlet. Specify the Name parameter value. Set the $securepassword variable as the Password parameter value.

Page updated 3/4/2024

Page content applies to build 12.2.0.334