Set the host key trust setting
PATCH/users/host-key-policy
When on, a host's first key is saved without a prompt when nobody can confirm it, and the event is audited. When off, such connections are refused until someone trusts the key from a terminal.
Request
Responses
- 200
- 400
- 403
- 500
Host key trust setting updated.
Invalid value for trustOnFirstUse.
Not authorized.
Failed to set the host key trust setting.