App keys
The keys your product’s servers hold, and what each one may do.
mailset keys create
A key for your product’s server: prints MAILSET_KEY once, after it’s approved.
Flags
A key that sends: as one mailbox with --mailbox, or as the --from addresses on a sending-only domain with --domain.
A key that reads one mailbox. Goes with --send or alone.
The mailbox the key is for, with --send or --read.
With --send: a domain added with --sending, whose mail stays elsewhere, and not its subdomains. An owner or admin approves it.
With --domain: an address on it the key sends as. Again for each, 25 at most.
With --domain, in place of --from: any address on it, your team’s included. Only for a domain where nobody has a mailbox.
A key that holds an org’s campaigns and nothing else. An owner or admin approves it.
With --campaigns: the org, when you are in more than one.
What the approval page and App keys call it. This machine’s name unless given.
It prints a link and a code. Approve it with your passkey, and the key prints once. Nothing is saved on this machine.
mailset keys create --send [--read] --mailbox <address> [--name <name>] | --send --domain <name> --from <address>… | --any-address [--name <name>] | --campaigns [--org <id>] [--name <name>]
mailset keys create --send --mailbox moc.elpmaxe@olleh --name "Acme API"
mailset keys list
List your app keys: what each sends as, and when it was last used.
Returns
With --json it prints a list of Key status objects.
mailset keys list
mailset keys list
mailset keys revoke
Revoke an app key. Its server can’t send with it any more.
Flags
The app’s id, from
keys list.
Returns
With --json it prints what the API returns.
mailset keys revoke <id>
mailset keys revoke d_4b8e2a6c9f1d3057b3e8a2c6
mailset keys renew
Keep an app key working for 90 more days, with the same key.
Flags
The app’s id, from
keys list.
It can ask for your passkey. It prints “This needs your passkey. Open <link>”, then waits until the link is approved or refused. Read its output as it comes: through head or tail, the link shows only after the wait.
Returns
With --json it prints what the API returns.
mailset keys renew <id>
mailset keys renew d_4b8e2a6c9f1d3057b3e8a2c6
mailset keys resume
Let an app key its brake paused send again, once you know why it was.
Flags
The app’s id, from
keys list.
It can ask for your passkey. It prints “This needs your passkey. Open <link>”, then waits until the link is approved or refused. Read its output as it comes: through head or tail, the link shows only after the wait.
Returns
With --json it prints what the API returns.
mailset keys resume <id>
mailset keys resume d_4b8e2a6c9f1d3057b3e8a2c6
mailset keys update
Change the From addresses a domain key sends as.
Flags
The key’s id, from
keys list.The From addresses it may send as from now on, all on its domain. 1 to 25.
Or @<path>, to read the JSON from a file.
Any address on its domain instead: only for a domain where nobody has a mailbox.
Always
true
It can ask for your passkey. It prints “This needs your passkey. Open <link>”, then waits until the link is approved or refused. Read its output as it comes: through head or tail, the link shows only after the wait.
Returns
With --json it prints the Key status object.
mailset keys update <id> [--from <a,b,…>] [--any-address true]
mailset keys update d_4b8e2a6c9f1d3057b3e8a2c6 --from moc.elpmaxe@stpiecer --from moc.elpmaxe@ylperon