List keys associated with the current and child databases.


fauna list-keys [OPTIONS]


The list-keys command lists the keys created in the current database and child databases.

If command line options are omitted, Fauna uses the default configuration file options.


Option Description


(Optional) Fauna server domain, which is the Fauna hostname.
Default =


(Optional) Endpoint name to use for the command.


(Optional) Connection port.
Default = 8443


(Optional) Connection scheme. Must be one of:
       https (default)


(Optional) Secret to use to connect to a database.


(Optional) connection timeout, in milliseconds. When the interval elapses, fauna-shell times out and displays an error.
Default = 0, wait indefinitely until a response is received.


(Optional) Fauna Query Language version
       v10 = (default) FQL v10
       v4 = FQL v4


For this example, assume that you have previously created some keys. Display the list with fauna list-keys:

fauna list-keys
Key ID               Database             Role
373686120364376132   [current]            admin
373711801788923969   [current]            server
373714670256652356   internal             server
374523090163466305   my-test-db           admin

Is this article helpful? 

Tell Fauna how the article can be improved:
Visit Fauna's forums or email

Thank you for your feedback!