Users
This page describes the commands to manage Users in Lenses via the CLI.
Create a user
lenses-cli users create \
--username john \
--password secretpass \
--security basic \
--groups MyGroup
# with a file:
lenses-cli users create ./user.yaml
Example file:
username: john
password: admin
security: basic
groups:
- MyGroup
Update a user
lenses-cli users update \
--username john \
--groups MyGroup
Delete a user
lenses-cli users delete --username john
Change the password of a user
lenses-cli users password \
--username john \
--secret mynewpassword
Find users by one group or many
lenses-cli users --groups MyGroup