fauna list-keys
List keys in the current database.
Syntax
fauna list-keys [--[no-]color ] [--endpoint <value>]
[--environment <value>] [--secret <value>]
[--timeout <value>] [--url <value>]
Options
Option | Description |
---|---|
|
Enables or disables color formatting for the output. Color formatting is
enabled by default if the terminal supports it (determined using
chalk/supports-color). Use
|
|
Connection endpoint from |
|
Environment to use, from a Fauna project. |
|
Help for |
|
Authentication secret. Overrides the
secret in Use a scoped key to interact with a child database using a parent database’s admin key. For example, with a parent database’s admin key secret of |
|
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!