FaunaDB Shell for GitHub or Netlify users
Currently, FaunaDB Shell does not support GitHub or Netlify logins. If
you signed up for FaunaDB using your GitHub or Netlify
credentials, the fauna cloud-login
asks you for credentials that it
cannot currently authenticate.
Use the following steps to complete the authentication for FaunaDB Shell.
-
Click the NEW DATABASE button.
-
In the New Database form, specify
my_app
as the name for your database and press Return (or click SAVE). -
In the left sidebar, click SECURITY.
-
Click the NEW KEY button.
-
In the New key form, make sure that the Database field is set to
my_app
. -
In the New key form, make sure that the Role field is set to
Admin
. -
In the New key form, specify a name for your access key and press Return (or click SAVE).
-
Copy the key’s secret that appears near the top of the screen.
The secret only appears once. If you lose it, the key must be revoked and a new key must be created. -
Create the file
$HOME/.fauna-shell
and edit it to contain the following content:default=cloud [cloud] domain=db.fauna.com scheme=https secret=<paste your secret here>
Make sure that you replace
<paste your secret here>
with the value of the secret that you copied in step 7.
That’s it! You can now access the database that you created via FaunaDB Shell. Continue the Quick start with FaunaDB tutorial.
Was this article helpful?
We're sorry to hear that.
Tell us how we can improve!
documentation@fauna.com
Thank you for your feedback!