Change bucket password
Learn how to change the read/write passwords for a bucket in BucketFS.
Prerequisites
-
The BucketFS service must be running.
Procedure
The following examples use ConfD through the command-line tool confd_client, which is available on all database nodes.
-
Connect to the cluster operating system (COS) using
c4 connect -i PLAY_ID -s cos.Example:
Copy./c4 connect -i c3275f84 -s cosTo find the play ID, you can use
c4 ps.For more information about how to use c4 commands, see How to use c4.
-
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:
Copyconfd_client bucket_modify bucket_name: BUCKET_NAME bucketfs_name: BUCKETFS_NAME public: False read_password: PASSWORD write_password: PASSWORD