Key metadata
Reading or writing key definitions requires an admin key. |
Solution
Set the data
field in a key:
{
ref: Ref(Keys(), "1"),
ts: 1631728043380000,
role: 'admin',
hashed_secret: '$2a$05$kdsBSqgV/EoShNny0aoCMuccN94tHSqJOuTTbJ58SRIrHixS/MUhm',
data: { team: 'Engineering' }
}
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!