Create
Create a login for the admin panel.
Syntax
$ vela admin create [email] $ vela admin create
$ vela admin create me@example.com -t production The email is prompted for when omitted, and the password is always prompted for, without echo. It must be at least 10 characters — PocketBase’s own minimum for a superuser. Creating a login for an email that already has one updates its password.
The URL to sign in at is printed when the command finishes.
The database is checked before anything is asked. Locally, a project without a backend is refused and pointed at vela enable backend; on a server, so is a target with no deployed database.
Options
-t, --target <target>- Which copy of the app to act on, defaults tolocal--server <ssh>- Server this target runs on, recorded on first use-i, --identity <file>- SSH private key to authenticate with--ssh-port <port>- SSH port--accept-host-keys- Trust an unknown host key on first connect (CI)