Adding cloud credentials in Replication Manager using CDP CLI

To replicate data to a storage cloud account, you must register the cloud credentials, so that the Replication Manager can access your cloud account. The supported cloud storage accounts are Amazon S3 and Azure Blob Filesystem (ABFS). You can add, update, or delete AWS or ABFS cloud credentials to use in Replication Manager using CDP CLI.

Perform one of the following steps, as necessary, to manage cloud credentials in Replication Manager using CDP CLI:
  • Add ABFS credentials:
    replicationmanager create-abfs-credential --name [***CREDENTIAL NAME***] --clusters [***CLUSTER CRNs SEPARATED BY SPACE***] --type [***ACCESSKEY OR CLIENTKEY***] --access-key [***ABFS ACCESS KEY***] --storage-account-name [***ABFS STORAGE ACCOUNT NAME***] --client-id [***CLIENT ID OF ACTIVE DIRECTORY SERVICE PRINCIPAL ACCOUNT***] --client-secret-key [***CLIENT KEY OF ACTIVE DIRECTORY SERVICE PRINCIPAL ACCOUNT***] --tenant-id [***TENANT ID OF ACTIVE DIRECTORY SERVICE PRINCIPAL ACCOUNT***]
  • Add AWS credentials:
    replicationmanager create-aws-credential --name [***CREDENTIAL NAME***] --clusters [***CLUSTER CRNs SEPARATED BY SPACE***] --type [***IAM OR ACCESSKEY***] --access-key [***AWS ACCESS KEY***] --secret-key [***AWS SECRET KEY***]
  • Update ABFS credentials:
    replicationmanager update-abfs-credential --name [***CREDENTIAL NAME***] --type [***ACCESSKEY OR CLIENTKEY***] --access-key [***ABFS ACCESS KEY***] --storage-account-name [***ABFS STORAGE ACCOUNT NAME***] --client-id [***ABFS CLIENT ID***] --client-secret-key [***ABFS CLIENT SECRET KEY***] --tenant-id [***ABFS TENANT ID]
  • Update AWS credentials:
    replicationmanager update-aws-credential --name [***CREDENTIAL NAME***] --type [***IAM OR ACCESSKEY***] --access-key [***ABFS ACCESS KEY***] --secret-key [***AWS SECRET KEY***]
  • View all the available registered credentials in a cluster:
    replicationmanager get-credentials --cluster-crn [***CLUSTER CRN***]
  • Delete a registered credential from Replication Manager:
    replicationmanager delete-credential --name [***CREDENTIAL NAME***]