Server
Server create admin user
server create-admin-user
Create a new admin user with the given username, email and password and adds it to every organization.
Usage
Options
—postgres-url
Type | string |
Environment | $WIRTUAL_PG_CONNECTION_URL |
URL of a PostgreSQL database. If empty, the built-in PostgreSQL deployment will be used (wirtual must not be already running in this case).
—postgres-connection-auth
Type | password|awsiamrds |
Environment | $WIRTUAL_PG_CONNECTION_AUTH |
Default | password |
Type of auth to use when connecting to postgres.
—ssh-keygen-algorithm
Type | string |
Environment | $WIRTUAL_SSH_KEYGEN_ALGORITHM |
Default | ed25519 |
The algorithm to use for generating ssh keys. Accepted values are “ed25519”, “ecdsa”, or “rsa4096”.
—username
Type | string |
Environment | $WIRTUAL_USERNAME |
The username of the new user. If not specified, you will be prompted via stdin.
Type | string |
Environment | $WIRTUAL_EMAIL |
The email of the new user. If not specified, you will be prompted via stdin.
—password
Type | string |
Environment | $WIRTUAL_PASSWORD |
The password of the new user. If not specified, you will be prompted via stdin.
—raw-url
Type | bool |
Output the raw connection URL instead of a psql command.