Fauna Shell for GitHub or Netlify users

Currently, Fauna Shell does not support GitHub or Netlify logins. If you signed up for Fauna 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 Fauna Shell.

  1. Login to your Fauna 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/macOS systems: $HOME/.fauna-shell

    And edit the file to contain the following content:

    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 Fauna Shell. Continue the Quick start with Fauna tutorial.

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!