osmates credential
Keep tokens and passwords for services in your Keychain, out of your machines.
osmates credential <subcommand>A credential is a value OSMates keeps in your login Keychain, the hosts it goes to, and where in a request to each: a header with an optional prefix, Basic authentication's password, or a query parameter. A host is an exact name with its port, 443 unless given. The value is read from standard input, or typed at the terminal without echo, and no command or reply shows it again. Changing a credential's hosts takes its value again. A machine a credential is granted to holds only a placeholder, which OSMates replaces with the value on its requests to the credential's hosts.
Subcommands
osmates credential listList your credentials, their hosts and the machines they are granted to, never their values.osmates credential addAdd a credential, reading its value from standard input or the terminal.osmates credential changeChange a credential's variable, its value, or its hosts with a new value.osmates credential removeRemove a credential from the Keychain, revoking it on every machine first.osmates credential grantGrant a credential to a machine, whose programs see only its placeholder.osmates credential revokeRevoke a credential from a machine, or from every machine with --all.osmates credential trustHave a running machine trust the OSMates credential authority, or remove it with --remove.