Change Bucket Password

This article explains how to change the read/write passwords for a given bucket and BucketFS.

Prerequisites

There are no prerequisites for this procedure.

Procedure

This procedure is carried out using ConfD.

The following examples use ConfD through the command-line tool confd_client, which is available on all database nodes. For more information, see ConfD.

Placeholder values are indicated with UPPERCASE characters. Replace the placeholders with your own values.

  1. Connect to EXAClusterOS (COS) on the cluster using c4 connect -t <DEPLOYMENT>[.<NODE>]/cos. For example:

    ./c4 connect -t 1.11/cos

    If you do not specify a node, c4 will connect to the first active node in the deployment.

    For more information about how to use c4 connect, see How to use c4.

  2. Use the ConfD job bucket_modify to change the read and/or write password for a given bucket in the given BucketFS service. The password can be entered in either plain-text or a base64-encoded string. For example:

    confd_client bucket_modify bucket_name: BUCKET_NAME bucketfs_name: BUCKETFS_NAME public: False read_password: PASSWORD write_password: PASSWORD

    Save the passwords in a secure location.

Verification

You can use curl to perform a test read and write using the new passwords. For more details, see Manage Buckets and Files in BucketFS.