Request an invite
Docs menu

osmates credential trust

Have a running machine trust the OSMates credential authority, or remove it with --remove.

Usage
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>Required

The machine's name or identifier.

--remove

Take the authority out of the machine's trust.

--json

Print 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

unavailableobjectRequired
unavailable.reasonstringRequired

Exit statuses

Its exit status is one of these.

StatusMeaning
0The command did what it was asked.
1The command failed; with --json, standard error's last line is the error object.
64The command line is wrong, as ArgumentParser found before the command ran.
65What was given is wrong, found while the command ran; the same command fails until it changes.
75The same command can work later with nothing changed, as while an update finishes.
130Control-C cancelled what the command started.

Report a problem with this page