You can create, update, and delete users. The commands for these actions are shown in the table below.
create
delete
get
password
update
lenses-cli users
lenses-cli users --groups logviewer
lenses-cli users create \ --username john \ --password secretpass \ --security basic \ --groups logviewer
You can create a user using a file with the user specifications
lenses-cli users create ./user.yaml
Example file:
username: john password: secretpass security: basic groups: - logviewer
lenses-cli users update \ --username john \ --groups logviewer
lenses-cli users delete --username john
lenses-cli users password \ --username john \ --secret mynewpassword
On this page