Skip to main content

Users

The Users module manages human identities within SOAT. A user can authenticate via username/password and receive a JWT token used for subsequent requests.

Overview

Users are global to the SOAT instance (not scoped to a project). The first user is created via the bootstrap endpoint. After that, only authenticated admin users may create additional users.

Users can have Policies attached to them, which control what resources and operations they are permitted to access.

See the Permissions Reference for the IAM action strings for this module.

Data Model

FieldTypeDescription
idstringPublic identifier (e.g. usr_…)
usernamestringUnique login name
created_atstringISO 8601 creation timestamp
updated_atstringISO 8601 last-updated timestamp

Examples

Bootstrap first user

soat bootstrap-user --username admin --password supersecret

Login

soat login-user --username admin --password supersecret

Create an additional user

soat create-user --username alice --password alicepass