Get-VBRAmazonAccount

Short Description

Returns AWS credentials records.

Applies to

Platform: VMware, Hyper-V

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

Syntax

This cmdlet provides the following parameter sets:

  • To get AWS credentials records by the AWS access key.

Get-VBRAmazonAccount [-AccessKey <string[]>]  [<CommonParameters>]

  • To get AWS credentials records by the AWS ID.

Get-VBRAmazonAccount [-Id <Guid[]>]  [<CommonParameters>]

Detailed Description

This cmdlet returns an array of existing AWS credentials records managed by Veeam Backup & Replication. Veeam Backup & Replication will use these credentials records to access the following services:

  • Amazon S3
  • Amazon EC2
  • S3 compatible (including IBM Cloud Object Storage)

Parameters

Parameter

Description

Type

Required

Position

Accept
Pipeline
Input

Id

Specifies an array of IDs for AWS credentials records. The cmdlet will return AWS credentials records with these IDs.

Guid[]

False

Named

False

AccessKey

Specifies an array of access keys for AWS credentials records. The cmdlet will return AWS credentials records with these access keys.

String[]

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 VBRAmazonAccount object that contains AWS credentials records.

Examples

Get-VBRAmazonAccountExample 1. Getting AWS Credentials Record by Access Key

This command gets an AWS credentials record by the AWS access key.

Get-VBRAmazonAccount -AccessKey "XXXXXXXXXXXXXXXXXXXXXXX"

Get-VBRAmazonAccountExample 2. Getting AWS Credentials Record by AWS ID

This command gets an AWS credentials record by the AWS ID.

Get-VBRAmazonAccount -Id "936edf7c-7cf3-4dbd-9895-c7485ef4bb2c", "936edf7c-7cf3-4ddc-9895-c7485ef4bb2c"