api: document preauthorized auth keys

Fixes #2120

Change-Id: If6a803680b544df1f70449c26fd0f5e15940226b
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
pull/3965/head
Brad Fitzpatrick 3 years ago committed by Brad Fitzpatrick
parent fbff1555fc
commit dd6472d4e8

@ -317,9 +317,14 @@ Allows for updating properties on the device key.
- Provide `false` to enable the device's key expiry. Sets the key to expire at the original expiry time prior to disabling. The key may already have expired. In that case, the device must be re-authenticated. - Provide `false` to enable the device's key expiry. Sets the key to expire at the original expiry time prior to disabling. The key may already have expired. In that case, the device must be re-authenticated.
- Empty value will not change the key expiry. - Empty value will not change the key expiry.
`preauthorized`
- If `true`, don't require machine authorization (if enabled on the tailnet)
``` ```
{ {
"keyExpiryDisabled": true "keyExpiryDisabled": true,
"preauthorized": true
} }
``` ```

Loading…
Cancel
Save