Users

The CLI can create, update, delete users.

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 password of a user 

lenses-cli users password \
    --username john \
    --secret mynewpassword

Find users by one group or many 

lenses-cli users --groups MyGroup