account
List the customer accounts you belong to, set the one commands act in, and see their members, groups and pending invitations.
The account group is for working with the customer accounts your login belongs to. Use ls to see which accounts you are in, and use to choose the default for later commands. Use inspect, members, groups and invitations to look inside an account, and accept to join one from an invitation link.
| Command | What it does |
|---|---|
ls | List the accounts this login belongs to, and whether you are root in each |
use | Set, show or clear the account that --account defaults to |
inspect | Show one account: its status, member limit and your place in it |
members | List who is in an account, and in which groups |
groups | List an account’s groups and the policies each one holds |
invitations | List the invitations still waiting to be accepted |
accept | Join an account with an invitation link, read from stdin |
Commands that act on an account pick it in this order: --account, then the STECHBD_ACCOUNT environment variable, then the default set by use. If none is set, the panel uses your personal account. The first one set is the only one used, so an account you are not a member of is refused, not replaced by the default.
stechbd account ls
Lists every account this login belongs to, and shows whether you are root in each. Run it to find the slug or id to pass to --account or use.
stechbd account lsstechbd account use
Stores the account that --account defaults to on this machine. Pass an account slug or id to set it, --clear to remove it, or no argument to show the current default. The default is only used when no --account flag and no STECHBD_ACCOUNT variable are set.
stechbd account use [<account> | --clear]| Option | Description |
|---|---|
<account> | The account slug or id to use as the default. Optional. |
--clear | Remove the stored default. Takes no account name. |
stechbd account use acme
stechbd account use
stechbd account use --clearstechbd account inspect
Shows one account: its status, its member limit, and your own place in it. Use it to check whether an account can take another member before you send an invitation.
stechbd account inspect [<account>] [--account <account>]| Option | Description |
|---|---|
<account> | The account slug or id. Optional; defaults as described above. |
--account <account> | The account to inspect, by slug or id. Same as the positional argument. |
stechbd account inspect acmestechbd account members
Lists the people in an account and the groups each one belongs to. Use it to audit who can act in an account.
stechbd account members [<account>] [--account <account>]| Option | Description |
|---|---|
<account> | The account slug or id. Optional; defaults as described above. |
--account <account> | The account to list, by slug or id. Same as the positional argument. |
stechbd account members acme --jsonstechbd account groups
Lists an account’s groups and the policies each group holds. Use it to see what a group grants before you add someone to it.
stechbd account groups [<account>] [--account <account>]| Option | Description |
|---|---|
<account> | The account slug or id. Optional; defaults as described above. |
--account <account> | The account to list, by slug or id. Same as the positional argument. |
stechbd account groups acmestechbd account invitations
Lists the invitations to an account that have not yet been accepted. Use it to check whether an invitation is still outstanding.
stechbd account invitations [<account>] [--account <account>]| Option | Description |
|---|---|
<account> | The account slug or id. Optional; defaults as described above. |
--account <account> | The account to list, by slug or id. Same as the positional argument. |
stechbd account invitations acmestechbd account accept
Joins an account using an invitation. The invitation link, or its token, is read from stdin, so it is not left in the shell history. The command takes no arguments.
stechbd account accept# Pipe the invitation link in
echo "$INVITE_LINK" | stechbd account accept