Change Bucket Password

This section explains how to change the read or write password for a given bucket and BucketFS.

Prerequisites

There are no prerequisites for this procedure.

Procedure

This procedure is carried out using ConfD.

The ConfD examples are written in Bash on a Linux terminal running the Exasol tool confd_client, which is accessed by connecting to EXAClusterOS on the database nodes using Exasol Deployment Tool (c4). You can also interact with ConfD from an external tool using Python and XML-RPC. 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}'

    Make sure to save the password(s) in a secure location.

Verification

Use curl to perform a test read and write using the new passwords. For more information, see Access Files in BucketFS.