Configuring the Solace CLI for Software Event Broker Containers

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

You can configure Solace CLI users through the Solace 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 CLI Users with the CLI

To create Solace CLI users through the Solace 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 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 CLI users through configuration keys, see Initializing a Software Event Broker Container.