rpk cluster license set

Upload license to the cluster. Updating the license does not require a cluster restart.

You can either provide a path to a file containing the license:

rpk cluster license set --path /home/organization/redpanda.license

Or inline the license string:

rpk cluster license set <license string>

If neither are present, rpk will look for the license in the default location /etc/redpanda/redpanda.license.


rpk cluster license set [flags]


Value Type Description

-h, --help


Help for set.



Path to the license file.



Redpanda or rpk config file; default search paths are /var/lib/redpanda/.config/rpk/rpk.yaml, $PWD/redpanda.yaml, and /etc/redpanda/redpanda.yaml.

-X, --config-opt


Override rpk configuration settings. See rpk -X or execute rpk -X help for inline detail or rpk -X list for terser detail.



Profile to use. See rpk profile for more details.

-v, --verbose


Enable verbose logging.