9.29. fabric:ensemble-password


Abstract

Displays or modifies the ensemble password

Synopsis

fabric:ensemble-password [ --help ] [ --commit ] [ NewPassword ]

Description

The ensemble password protects access to the Zookeeper nodes under the /fabric/ path, which contains critical configuration data for the fabric. This command can be used either to display the current ensemble password or to change the ensemble password to a new value.
To display the current ensemble password, invoke the command without any arguments:
JBossFuse:karaf@root> fabric:ensemble-password
To change the ensemble password requires a two-step process. First, specify the new password as follows:
JBossFuse:karaf@root> fabric:ensemble-password mysecret
Updating the password...
 
Password updated. Please wait a little while for the new password to
get delivered as a config update to all the fabric nodes. Once, the 
nodes all updated (nodes must be online), please run: 

  fabric:ensemble-password --commit 

JBossFuse:karaf@root> fabric:ensemble-password --commit
Only the current password is allowed access to fabric now.

JBossFuse:karaf@root>
After the new password has propagated to all of the ensemble nodes, commit the change as follows:
JBossFuse:karaf@root> fabric:ensemble-password --commit

Arguments

Table 9.29, “fabric:ensemble-password Arguments” describes the command's arguments.
Table 9.29. fabric:ensemble-password Arguments
ArgumentInterpretation
NewPassword Specifies the new ZooKeeper password for the ensemble.
--help Displays the online help for this command
--commit Displays the online help for this command
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.