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
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_appas 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
In the New key form, make sure that the Role field is set to
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.
.fauna-shellfile in your computer’s home directory:
On Windows systems:
On Linux/macOS systems:
And edit the file 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. And be sure to save the file.
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!
Thank you for your feedback!