Appearance
diffuse-coordinator account
Human accounts: who may sign in, and as what.
What you do with it
Accounts are for people, at the console and at the command line. They are served on the operator plane, port 7446: sign in first. The roles are owner, admin, operator, developer and auditor.
Sign in
The first owner was created at install, and its one-time password printed then. The first sign-in with a one-time password may only change it:
bash
diffuse-coordinator login --endpoint https://coordinator.internal:7446
diffuse-coordinator password
diffuse-coordinator whoamiGive somebody an account
The one-time password is printed once; hand it over out of band:
bash
diffuse-coordinator account create jonas.pfleger --role developer
diffuse-coordinator account listChange what somebody may do
A new role ends their sessions, so it applies at their next sign-in:
bash
diffuse-coordinator account role jonas.pfleger operatorSomebody leaves, or comes back
Disabling revokes every session they hold. Their API keys are not revoked: apikey list shows what they own, and revoking each is a decision.
bash
diffuse-coordinator account disable jonas.pfleger
diffuse-coordinator apikey list
diffuse-coordinator account enable jonas.pflegeraccount disable · apikey list · account enable
A lost password, or no owner at all
Both run on the coordinator's machine, against its state, as the service user; both are on the audit trail.
bash
sudo -u diffuse diffuse-coordinator account recover --login marie.chercheuse
sudo -u diffuse diffuse-coordinator account bootstrap --login marie.chercheuseaccount recover issues a new one-time password and ends that account's sessions; account bootstrap creates the first owner of a deployment that has no account yet.
Synopsis
diffuse-coordinator account <COMMAND>Commands
| command | what it does |
|---|---|
list | List the accounts |
create | Create an account with a one-time password |
role | Change what somebody may do. Ends their sessions |
disable | Switch an account off, and revoke everything it is holding |
enable | Switch it back on |
bootstrap | Create the first account. Run on the coordinator host. |
recover | Reset a password when the identity provider is down and the password is lost. Run on the coordinator host, and audited like bootstrap |
