Skip to main content
Version: v46

wireguard_key_request

namestringrequired

Name for the WireGuard key

Example: work
commentstring

Comment for the WireGuard key

Example: Joe's work laptop key
public_keystring<byte>required

WireGuard key in base64 format

Example: GMSx5I+v+N1VZ401QU1kDuv9wYq5C9D/I8h1QtwBoSM=
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
wireguard_key_request
{
"name": "work",
"comment": "Joe's work laptop key",
"public_key": "GMSx5I+v+N1VZ401QU1kDuv9wYq5C9D/I8h1QtwBoSM=",
"not_before": "2020-07-31T17:32:28Z",
"not_after": "2022-07-31T17:32:28Z"
}