list-databases

Lists databases.

Syntax

fauna list-databases [--url <value>] [--timeout <value>] [--secret <value>] [--endpoint <value>] [--environment <value>]

Description

The list-databases command lists databases.

Scope

The list-databases command only lists direct child databases of the database for your authentication secret. You can’t use the list-databases to access parent, peer, or other descendant databases.

If you use an authentication secret scoped to an account’s top-level context, list-databases lists the account’s top-level databases. You can create a top-level secret using the fauna cloud-login command.

Options

Option Description

--endpoint

Connection endpoint from ~/.fauna-shell.

--environment

Environment to use, from a Fauna project.

--help

Help for create-database command.

--secret

Secret key. Overrides the secret in ~/.fauna-shell.

--timeout

Connection timeout (milliseconds).

--url

Database URL. Overrides the URL in ~/.fauna-shell.

Examples

fauna list-databases

Is this article helpful? 

Tell Fauna how the article can be improved:
Visit Fauna's forums or email docs@fauna.com

Thank you for your feedback!