Fauna Shell for GitHub users

Currently, Fauna Shell does not support GitHub logins. If you signed up for Fauna Cloud using your GitHub 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 Cloud account.

  2. Click the NEW DATABASE button.

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

  4. In the left sidebar, click KEYS.

  5. Click the parent database key page link.

  6. In the New child DB key flyout panel, specify a name for your access key and press Return (or click SAVE).

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