Configuring the Solace Event Broker CLI for Software Event Broker Containers

Solace Event Broker CLI users are permitted to connect to an event broker for purposes of configuration, management and monitoring. By default, no Solace Event Broker CLI users are defined in a software event broker container.

You can configure Solace Event Broker CLI users through the Solace Event Broker CLI or SEMP processes, or through configuration keys when you start the container.

For more general information on CLI users, see Management User Authentication / Authorization Overview.

Configuring Solace Event Broker CLI Users with the CLI

To create Solace Event Broker CLI users through the Solace Event Broker CLI, do the following: 

  1. Launch the CLI from the container runtime.

    For Docker, run:

    >docker exec -it <container_name> /usr/sw/loads/currentload/bin/cli -A

    For Podman, run:

    >podman exec -it <container_name> /usr/sw/loads/currentload/bin/cli -A
  2. In the Solace Event Broker CLI, enter the following commands to create the admin user:
    solace> enable
    solace# configure
    solace(configure)# create username admin
  3. Enter the following commands to set the global access level for the admin user:
    solace> enable
    solace# configure
    solace(configure)# username admin
    solace(configure/username)# global-access-level <access-level>
  4. Enter the following commands to set the password for the admin user:
    solace> enable
    solace# configure
    solace(configure)# username admin
    solace(configure/username)# change-password <password>

Configuring CLI Users Using Configuration Keys

To create Solace Event Broker CLI users through configuration keys, see Initializing a Software Event Broker Container.