SFTP Databases cannot be provisioned via the Dashboard. Instead, use the
aptible db:create command to create one:
aptible db:create "$DB_HANDLE" --type sftp
The service is designed to run with an initial, password-protected admin user. Additional users can be provisioned at any time by calling add-sftp-user with a username and SSH public key.
For example, given the admin user aptible, one might run:
ssh -p <docker-port> [email protected]<docker-host> sudo add-sftp-user regular-user <ssh-pubkey>
Updated 12 months ago