mkcloudaccountazure

Use the mkcloudaccountazure command to configure a new cloud account that uses Microsoft Azure cloud storage.

Syntax

Read syntax diagramSkip visual syntax diagram  mkcloudaccountazure  -name new_name -containerprefixazure_container_prefix -storageaccountnameazure_storage_account_name -storageaccountkeyazure_storage_account_access_key-certificatepath_to_certificate-encryptyesno-upbandwidthmbitsupbandwidth_limit_in_mb-downbandwidthmbitsdownbandwidth_limit_in_mb

Parameters

-name new_name
(Required) Specifies the account identifier. The value must be an alphanumeric string.
-containerprefix azure_container_prefix
(Required) Specifies the container prefix to identify the objects that the system creates and uses on the cloud storage. The value must be 3-58 characters long and can only contain lowercase letters, numbers, and hyphens. If hypens are used, they must not be placed adjacent to each other or at the start or end of the prefix.
-storageaccountname azure_storage_account_name
(Required) Specifies the name of the Microsoft Azure storage account that the system uses to access cloud storage. The value must be 3-24 characters long and can only contain lowercase letters and numbers. The storage account name is the first part (public) of the Microsoft Azure storage credential system, which provides a unique namespace in Azure for your data objects. Every object that is stored in Microsoft Azure storage has an address that includes your unique storage account name.
-storageaccountkey azure_storage_account_key
(Required) Specifies the account access key that the system uses to access the cloud storage. The value must be 88 characters long, base64-encoded, and can only contain upper-case letters, lower-case letters, numbers, or slashes. The storage account key is the second part (secret) of the Microsoft Azure storage credential system which comes with two 512-bit storage account access keys for that storage account.
-certificate path_to_certificate
(Optional) Specifies the file path to an SSL CA certificate for Microsoft Azure storage. This certificate must be in base64-encoded PEM format. The value must be 1-255 characters long and can only contain alphanumeric and special characters . / - _. If periods are used, they must not be placed adjacent to each other or at the start or end of the prefix.
Note: The -certificate parameter is only required if Microsoft Azure storage updates its certificates to be incompatible with the IBM Java 8 CA certificate bundle or if you don't want to use that certificate bundle.
-encrypt yes | no
(Optional) Specifies whether to encrypt the data in the cloud account. By default, encryption is enabled unless you specify -encrypt no.
-upbandwidthmbits upbandwidth_limit_in_mb
(Optional) Specifies the upload bandwidth limit in megabits per second (Mbps). The value must be in the range of 1 to 10240.
Note: No upload bandwidth limit is set unless you specify this keyword.
-downbandwidthmbits downbandwidth_limit_in_mb
(Optional) Specifies the download bandwidth limit in megabits per second (Mbps). The value must be in the range of 1 to 10240.
Note:
  • No download bandwidth limit is set unless you specify this keyword.

Description

The mklcloudaccountazure command configures a new cloud account that uses Microsoft Azure cloud storage.
Note:
  • The DNS server must be configured to use the command.
  • If there are already 16 other systems using the same cloud storage, then the command fails.

An invocation example


mkcloudaccountazure -name myazure -containerprefix sample-az    
-storageaccountname sampleazureacc
-storageaccountkey  sVdi0lZQxm/BdKE9u2bVQtPkNotTgAtsVf9JMVTbBqb5zxIfRSKs9ra0pez3up/VfX5vIFybkUZX+AStsK2n4w==
-encrypt no -upbandwidthmbits 100 -downbandwidthmbits 100

The resulting output:

Cloud Account, id [0], successfully created