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.

  1. Login to your FaunaDB account.

  2. Click the NEW DATABASE button.

  3. In the New Database form, specify my_app as the name for your database and press Return (or click SAVE).

  4. In the left sidebar, click SECURITY.

  5. Click the NEW KEY button.

  6. In the New key form, make sure that the Database field is set to my_app.

  7. In the New key form, make sure that the Role field is set to Admin.

  8. In the New key form, specify a name for your access key and press Return (or click SAVE).

  9. 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.
  10. Create the .fauna-shell file in your computer’s home directory:

    On Windows systems: %systemdrive%%homepath%\.fauna-shell

    On Linux/Mac OS systems: $HOME/.fauna-shell

    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! documentation@fauna.com

Thank you for your feedback!