Change Bucket Password

This section 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 accessible on all database nodes. You can also access ConfD through XML-RPC in your own Python programs. For more information, see ConfD.

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

  1. Connect to EXAClusterOS (COS) using c4 connect -t<DEPLOYMENT>/cos. For example:

    c4 connect -t1/cos

    If you do not specify a node, you will be connected to the first node in the deployment. If the cluster is configured with an access node, the first node is the access node (usually n10). The COS command prompt will tell you which node you are currently connected to:

    [root@n10 ~]#

    For more information about c4 commands, see Exasol Deployment Tool (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 -c bucket_modify -a '{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.