Service Accounts
This page describes the commands to manage Service Accounts in Lenses via the CLI.
Create a service account
# with flags (autogenerated password (token))
lenses-cli serviceaccounts create \
--name MySvcAcc \
--owner admin \
--groups MyGroup# with user-specified password (token)
lenses-cli serviceaccounts create \
--name MySvcAcc \
--owner admin \
--groups MyGroup \
--token 1234-foo-bar
lenses-cli serviceaccounts create ./serviceaccount.yamlname: MySvcAcc
owner: admin
groups:
- MyGroupUpdate a service account
Delete a service account
Revoke
Revoke a service account token and use your own custom token
Last updated
Was this helpful?

