Skip to content

Apikey

Model of Apikey

Field Type Description Required Default
acl List [Enum] Access Control List for the API key
Yes
None
password Keyword BCrypt hash of the password for the apikey
Yes
None
roles List [Enum] List of roles tied to the API key
Yes
[]
uname Keyword Username
Yes
None
key_name Keyword Name of the key
Yes
None
creation_date Date The date this API key is created.
Yes
NOW
expiry_ts Date Expiry timestamp.
Optional
None
last_used Date The last time this API key was used.
Optional
None