list-endpoints

Lists the names of Fauna connection endpoints.

fauna list-endpoints

Description

The list-endpoints command lists the names of all of the endpoints that you have configured in the fauna-shell configuration file.

Arguments

None.

Options

None.

Example

The fauna-shell configuration file used in the following example contains entries for three endpoints: localhost, cloud, and db2. The default endpoint is db2.

default=db2

[localhost]
domain=127.0.0.1
port=8443
scheme=http
secret=secret

[cloud]
domain=db.fauna.com
scheme=https
secret=fnADS@PxN@2CE@n7z@kDa4_p6Z@fIBaZm@Qt@bYT

[db2]
domain=private.example
port=8443
scheme=https
secret=MY_ORGANIZATION_SECRET

When you run the list-endpoints command, the names of these four endpoints are listed. Note that the default endpoint — db2 — is indicated with an asterisk.

fauna list-endpoints
localhost
cloud
db2 *

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!