Add-VBRAzureBlobAccount

In this article

    Short Description

    Creates Microsoft Azure Blob credentials records.

    Applies to

    Platform: VMware, Hyper-V

    Product Edition: Enterprise, Enterprise Plus, Veeam Universal License

    Syntax

    Add-VBRAzureBlobAccount -Name <string> -SharedKey <string> [-Description <string>]  [<CommonParameters>]

    Detailed Description

    This cmdlet creates a VBRAzureBlobAccount object. This object contains credentials records of a Microsoft Azure storage account that has permissions to access the Blob storage resources.

    Parameters

    Parameter

    Description

    Required

    Position

    Accept
    Pipeline
    Input

    Accept
    Wildcard
    Characters

    Name

    Specifies a login name. The cmdlet will use this login name to add the Microsoft Azure Blob credentials record.

    True

    Named

    False

     

    SharedKey

    Specifies a shared key. The cmdlet will use this shared key to add the Microsoft Azure Blob credentials record.

    True

    Named

    False

     

    Description

    Specifies a description for the Microsoft Azure Blob credentials record.

    False

    Named

    False

     

    <CommonParameters>

    This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.

    Return Type

    Example

    This example shows how to add an Microsoft Azure Blob credentials record.

    You must perform the following steps:

    1. Run the Read-Host cmdlet. Specify the message that the console will display as a prompt. Specify the AsSecureString parameter. Save the result to the $securepassword variable.
    2. Enter the password.
    3. Run the Add-VBRAzureBlobAccount cmdlet. Specify the Name parameter value. Set $securepassword as the SharedKey parameter value.

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

    Enter your password: **********

    Add-VBRAzureBlobAccount -Name "Login" -SharedKey $securepassword

    Related Commands

    Read-Host