list-keys
List keys in the current database.
Syntax
fauna list-keys [--url <value>] [--timeout <value>] [--secret <value>] [--endpoint <value>] [--environment <value>]
Options
Option | Description |
---|---|
|
Connection endpoint from |
|
Environment to use, from a Fauna project. |
|
Help for |
|
Authentication secret. Overrides the
secret in |
|
Connection timeout (milliseconds). |
|
Database URL. Overrides the URL in |
Example
For this example, assume that you have previously created some keys. Display
the list with fauna list-keys
:
fauna list-keys
Response:
Key ID Database Role
373686120364376132 [current] admin
373711801788923969 [current] server
373714670256652356 prod server
374523090163466305 childDB admin
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!