These commands require a service_role_key in your config.toml. They act directly on the identity provider and bypass the normal invitation flow. They are intended for operators running their own JoyStream instance, not for day-to-day team management.
jstm admin user create --email dana@acme.com --password 'correct-horse-battery'
Option
Description
--email, -e
Required. User email
--password, -p
Required. The password, passed as the flag’s value. The command does not prompt
--json
Emit as JSON
admin user delete
jstm admin user delete --email dana@acme.com --yes
Option
Description
--email, -e
Required. Email of the user to delete
--yes, -y
Skip the confirmation
--json
Emit as JSON
Configuring the key
These commands need a config.toml, which jstm init scaffolds. The command is hidden, because it is only useful when you can supply your own credentials.
jstm initjstm init --force # overwrite an existing config