Set-VBRAzureBlobAccount

In this article

    Short Description

    Modifies Microsoft Azure Blob credentials records.

    Applies to

    Platform: VMware, Hyper-V

    Product Edition: Enterprise, Enterprise Plus, Veeam Universal License

    Syntax

    Set-VBRAzureBlobAccount -Account <VBRAzureBlobAccount> [-Name <string>] [-SharedKey <string>] [-Description<string>]  [<CommonParameters>]

    Detailed Description

    This cmdlet modifies credentials records for Microsoft Azure Blob storage.

    Parameters

    Parameter

    Description

    Required

    Position

    Accept
    Pipeline
    Input

    Accept
    Wildcard
    Characters

    Account

    Specifies Microsoft Azure Blob credentials records that you want to modify.

    Accepts the VBRAzureBlobAccount type.

    True

    Named

    True (ByValue)

     

    Name

    Specifies the Microsoft Azure Blob login name. The cmdlet will add this login name to Microsoft Azure Blob credentials records.

    False

    Named

    False

     

    SharedKey

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

    False

    Named

    False

     

    Description

    Specifies a description. The cmdlet will add this description to Microsoft Azure Blob credentials records.

    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 modify an Microsoft Azure Blob credentials record.

    1. Create a new secure password.
    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.
    1. Run Get-VBRAzureBlobAccount to get the Microsoft Azure Blob credentials record. Save the result to the $account variable.
    2. Run Set-VBRAzureBlobAccount with the $account variable. Use the SharedKey parameter to set a new shared key.

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

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

    $account = Get-VBRAzureBlobAccount -Name "Microsoft Azure Blob"

    Set-VBRAzureBlobAccount -Account $account -SharedKey $securepassword

    Related Commands

    Get-VBRAzureBlobAccount