add-endpoint
Add an endpoint to ~/.fauna-shell.
Use endpoint add
instead.
Description
The add-endpoint
command adds a connection NAME
to the
configuration file. If
you don’t provide a key or alias, you’re prompted for them, and
they are written to the configuration file.
Typically, you should use the
cloud-login
command instead of
this command. cloud-login
guides you through selecting the correct Region Group to connect to. If you
want to connect to a non-standard endpoint, then use the add-endpoint
command.
Options
Option | Description |
---|---|
--non-interactive |
Disables interaction |
--secret=<value> |
Database secret |
--set-default |
Sets this environment as the default |
--url=<value> |
Database URL |
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!