Skip to main content
Version: v41

authorized_keys

countintegerrequired
items object[]required
  • Array [
  • idstring<uuid>

    Unique identifier for authorized key

    Example: 2765b005-4ce1-4b2b-a9ca-ee6c4d6f2792
    usernamestring

    Username of the authorized key owner

    Example: joe@privx.com
    user_idstring<uuid>

    User id of the authorized key owner

    Example: f2f448d8-0397-4894-982f-9a58a43921db
    sourcestring<uuid>

    User source ID

    namestringrequired

    Name for authorized key

    Example: work
    commentstring

    Comment for authorized key

    Example: Joe's work laptop key
    public_keystringrequired

    Public key data in ssh authorized key format

    Example: AAAAB3NzaC1yc2EAAAADAQABAAABAQDqoMogqErOw7lL3GD6Ez7Hv1FZBk0Iyk2pBFUhqb9sjY9IEw8P9OWFwLMhWQ4LNvekPAnmr03pMHSSP7Pw98+Izy0HxcHZGKcrDOIjnHF5Fog3w4rBYa6OxdcJRxctifx5szqmM4JkUNS1RJY5E4ns4xCgFV46Satph02M+eP9PXGh+ZecSNtdLoOovVuolEUdb8dINgto8zsjEuAQ+76qOEgAIuSsYlzGGZPyPnATtkUi/rK9fcAfbhSqSXNxFqf7wejEKwA1kFt8hSW2bUWJH268fqnejFwHjBTzjBw89dji6141ajAP8/Q2gZug0bb1U70PE4afE3fFh2VCfhwT
    not_beforestring<date-time>

    Start of key validity period

    Example: 2020-07-31T17:32:28Z
    not_afterstring<date-time>

    End of key validity period

    Example: 2022-07-31T17:32:28Z
    expires_ininteger

    Time in seconds to key expiry. Value is not set if key is not yet valid.

    source_addressstring[]
    fingerprintsstring[]
  • ]
  • authorized_keys
    {
    "count": 0,
    "items": [
    {
    "id": "2765b005-4ce1-4b2b-a9ca-ee6c4d6f2792",
    "username": "joe@privx.com",
    "user_id": "f2f448d8-0397-4894-982f-9a58a43921db",
    "source": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "name": "work",
    "comment": "Joe's work laptop key",
    "public_key": "AAAAB3NzaC1yc2EAAAADAQABAAABAQDqoMogqErOw7lL3GD6Ez7Hv1FZBk0Iyk2pBFUhqb9sjY9IEw8P9OWFwLMhWQ4LNvekPAnmr03pMHSSP7Pw98+Izy0HxcHZGKcrDOIjnHF5Fog3w4rBYa6OxdcJRxctifx5szqmM4JkUNS1RJY5E4ns4xCgFV46Satph02M+eP9PXGh+ZecSNtdLoOovVuolEUdb8dINgto8zsjEuAQ+76qOEgAIuSsYlzGGZPyPnATtkUi/rK9fcAfbhSqSXNxFqf7wejEKwA1kFt8hSW2bUWJH268fqnejFwHjBTzjBw89dji6141ajAP8/Q2gZug0bb1U70PE4afE3fFh2VCfhwT",
    "not_before": "2020-07-31T17:32:28Z",
    "not_after": "2022-07-31T17:32:28Z",
    "expires_in": 0,
    "source_address": [
    "192.168.100.0/24"
    ],
    "fingerprints": [
    "SHA256:bdeYZ2qiEwCOCuf0oTvya/aH4Vo+nJLIauDKm/D8btM"
    ]
    }
    ]
    }