spotsnel / cockpit-headscale

Headscale management application for Cockpit
GNU Lesser General Public License v2.1
35 stars 1 forks source link

Pre-authenticated keys: `create` #5

Open gbraad opened 1 year ago

gbraad commented 1 year ago

headscale preauthkeys create -u [user] -o json

Flags

gbraad commented 1 year ago

Example

{
    "user": "gbraad",
    "id": "1",
    "key": "5f5ad19844ef66d88ff2041b638c824a13fdfb69ea3162e4",
    "expiration": {
        "seconds": 1688283738,
        "nanos": 806378454
    },
    "created_at": {
        "seconds": 1688280138,
        "nanos": 809427146
    }
}