Add Storage Account

Run the elevated Windows command prompt under the local administrator account.

  1. Click on the Windows Start button.
  2. Type cmd.exe in the search field, then press Enter.
  3. Change your current folder to the CloudBerry Drive installation folder. Use the following command:
cd "C:\Program Files\CloudBerryLab\CloudBerry Drive"

Add Storage Account

To add an Amazon S3 account, use the following command:

cbd.exe addAccount -d account_display_name -st S3 -ac accesskey -sk secretkey -ssl yes/no

To add an S3-compatible cloud storage account, use the following command:

cbd.exe addAccount -d account_display_name -st storageType -ac accesskey -sk secretkey -sp servicePoint ssl yes/no

To add an OpenStack cloud storage account, use the following command:

cbd.exe addAccount -d account_display_name -st storageType -ac username -sk apikey -as authService -ssl yes/no

To add a Microsoft Azure account, use the following command:

cbd.exe addAccount -d account_display_name -st Azure -ac account -sk sharedkey -ssl yes/no

To add a Google Cloud Storage account, use the following command:

cbd.exe addAccount -d account_display_name -st Google -ac accesskey -sk secretkey -ssl yes/no

Command Parameters

You can specify the following parameters:

  • -d Specifies display name, which can be any of your choices
  • -n new display name
  • -st Specifies storage type, which can be one of the following: S3, Azure, Google, Scality, Dunkel, Tiscali, HostEurope, DreamObjects, Seeweb, Connectria, Walrus, Mezeo, OpenStack, RackSpace, Clodo, HPCloud, Haylix, GreenQloud
  • -ac Specifies accessKey, account, queryID, or userName depending on the storage you are adding. "Access Key" for Amazon S3 storage, "Account" for Azure storage, "Query ID" for Walrus storage, "User Name" for OpenStack, Rackspace, Clodo, and HPCloud storage
  • -sk Specifies secretKey, sharedKey, or apiKey depending on the storage you are registering. "Secret Key" for Amazon S3 storage, "Shared key" for Azure storage, or "Api Key" for OpenStack, Rackspace, Clodo, or HPCloud storage
  • -sp (optional) Used for service point for AmazonS3-like storage accounts
  • -as (optional) Used for authentication service for OpenStack-based cloud storage accounts
  • -ssl Enables or disables SSL. By default SSL is set to "no"

Learn more about the addAccount command parameters using the following command:

cbd.exe addAccount -?
https://git.cloudberrylab.com/egor.m/doc-help-std.git