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:
  • To add ABFS credentials, run the following command:
    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***]
  • To add AWS credentials, run the following command:
    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***]
  • To update ABFS credentials, run the following command:
    replicationmanager update-abfs-credential --name [***credential name***] --type [***enter 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]
  • To update AWS credentials, run the following command:
    replicationmanager update-aws-credential --name [***credential name***] --type [***enter IAM or ACCESSKEY***] --access-key [***abfs access key***] --secret-key [***aws secret key***]
  • To view all the available registered credentials in a cluster, run the following command:
    replicationmanager get-credentials --cluster-crn [***cluster crn***]

    Optionally, you can use the --credential-name [***credential name***] or --credential-id [***credential id***] option to view specific credentials.

  • To delete a registered credential from Replication Manager, run the following command:
    replicationmanager delete-credential --name [***credential name***]