osmates credential trust
Have a running machine trust the OSMates credential authority, or remove it with --remove.
osmates credential trust <vm> [--remove] [--json]Windows and Linux machines trust the authority by themselves once a credential is granted. A macOS machine keeps it in a file until an administrator approves it: this asks for one at the machine's screen, and waits up to 60 seconds. --remove takes the authority out of the machine's trust, which needs every credential revoked there first, and asks a macOS administrator again.
Arguments
<vm>RequiredThe machine's name or identifier.
--removeTake the authority out of the machine's trust.
--jsonPrint machine-readable JSON.
JSON output
With --json, it prints one of the strings trusted, awaitingApproval or removed, or this object.
JSON Schema: /schemas/0/cli/credential/trust.json
unavailable
unavailableobjectRequiredunavailable.reasonstringRequired
Exit statuses
Its exit status is one of these.
| Status | Meaning |
|---|---|
| 0 | The command did what it was asked. |
| 1 | The command failed; with --json, standard error's last line is the error object. |
| 64 | The command line is wrong, as ArgumentParser found before the command ran. |
| 65 | What was given is wrong, found while the command ran; the same command fails until it changes. |
| 75 | The same command can work later with nothing changed, as while an update finishes. |
| 130 | Control-C cancelled what the command started. |