Key.byId()
Learn: Keys |
---|
Get a key by its
document id
.
Description
Gets a key, represented as an
Key
document, by its
document id
.
A key is a type of authentication secret used for anonymous access to a Fauna database. Unlike tokens, keys are not associated with an identity.
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
id |
true |
ID of the
|
Return value
Type | Description |
---|---|
Resolved reference to the |