S Technologies's Logo

Color

Green
Teal
Indigo
Blue
Purple
Red
Rose

Mode

Light

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.

CommandWhat it does
lsList the accounts this login belongs to, and whether you are root in each
useSet, show or clear the account that --account defaults to
inspectShow one account: its status, member limit and your place in it
membersList who is in an account, and in which groups
groupsList an account’s groups and the policies each one holds
invitationsList the invitations still waiting to be accepted
acceptJoin 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.

bash
stechbd account ls

stechbd 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.

bash
stechbd account use [<account> | --clear]
OptionDescription
<account>The account slug or id to use as the default. Optional.
--clearRemove the stored default. Takes no account name.
bash
stechbd account use acme
stechbd account use
stechbd account use --clear

stechbd 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.

bash
stechbd account inspect [<account>] [--account <account>]
OptionDescription
<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.
bash
stechbd account inspect acme

stechbd 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.

bash
stechbd account members [<account>] [--account <account>]
OptionDescription
<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.
bash
stechbd account members acme --json

stechbd 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.

bash
stechbd account groups [<account>] [--account <account>]
OptionDescription
<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.
bash
stechbd account groups acme

stechbd account invitations

Lists the invitations to an account that have not yet been accepted. Use it to check whether an invitation is still outstanding.

bash
stechbd account invitations [<account>] [--account <account>]
OptionDescription
<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.
bash
stechbd account invitations acme

stechbd 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.

bash
stechbd account accept
bash
# Pipe the invitation link in
echo "$INVITE_LINK" | stechbd account accept