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
The following examples use the command-line tool confd_client, which is available on all database nodes.
Placeholder values are indicated with UPPERCASE characters. Replace the placeholders with your own values.
-
Connect to the cluster operating system (COS) using
c4 connect -i PLAY_ID -s cos
. For example:For more information about how to use
c4 connect
, 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:
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.