endpoint add
Learn: Endpoints |
---|
Adds an endpoint to the
.fauna-shell
configuration file.
Description
The add-endpoint
command adds an
endpoint to the
.fauna-shell
configuration file. If
you don’t provide a URL or secret, you’re prompted for them, and they are
written to the configuration file.
cloud-login
is the preferred way to add an
endpoint. Use endpoint add
to add a non-standard endpoint, such as when using
the Fauna Dev Docker image.
Arguments
Argument | Description |
---|---|
|
Endpoint name. The Fauna CLI identifies the URL |
Options
Option | Description |
---|---|
|
Disable interaction. |
|
Database secret. |
|
Sets this environment as the default environment. |
|
Database URL. |
|
Help for |
Examples
fauna endpoint add
fauna endpoint add localhost --url http://localhost:8443/ --key secret
fauna endpoint add localhost --set-default
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!