The vault
Store passwords, API keys and notes in the vault, and let bots use them without the secret ever showing in a thread. Covers adding, sharing, asking first, taking away and good practice.
The vault holds the passwords, keys and private notes your bots need: a payer portal login, a reporting tool's API key, a bank's one-time code setup. A bot uses an item without the secret ever showing. A password is filled straight into the website, and a key reaches the bot's commands. Neither appears in the thread or in the bot's visible steps.
Open it from Settings › Vault.
What you can store
| Type | For | Fields |
|---|---|---|
| Login | A website a bot signs in to | Site, Username or email, Password, and, optionally, the setup key for one-time codes (a site's two-step sign-in) |
| API key | A key or token a bot's tools or scripts use | A name written like a variable, such as STRIPE_KEY, and the key itself |
| Note | Other private text, like account numbers or recovery codes | Free text |
How bots use each type:
- Logins: the bot signs in with it in its own browser. The password is filled into the page for it.
- API keys reach the bot's commands as a variable named like the item. A key saved as
STRIPE_KEYis available as$STRIPE_KEYfrom the bot's next run, unless you tick Ask a person before each use (below). - One-time codes: if you add the site's setup key, the bot can produce the six-digit code at sign-in, so it doesn't need your phone.
Add an item
- Go to Settings › Vault and click Add credential.
- A New credential card opens at the top. Pick the type and give it a clear name, such as Availity: billing team.
- Fill in the fields. Once it has a name, it saves as you type. There's no Save button.
To change an item, click its row to open it, then edit. To remove it, open it and click Delete.
Getting the one-time-code setup key
When a site offers authenticator app sign-in, it shows a QR code. Look for a link like Can't scan it? or Enter key manually. That text is the setup key. Paste it into the one-time codes field. Ask the site's account owner first, because the bot will then be able to complete two-step sign-in on its own.
Ask a person before each use
For keys and logins that can change or delete things, such as a billing system's write key or an admin login, tick Ask a person before each use on the item.
- The item is then kept out of the bot's commands.
- Each time a bot needs it, the bot asks in its thread, and the vault gives it the item only after someone says yes.
- Only the person who added the item, or an admin, can turn this on or off.
Leave it off for read-only keys the bot uses all day. Turn it on where a mistake would be costly.
Give an item to a bot
A bot can only use the items it has been given. There are three ways to give them:
- From the vault: tick one or more rows, then click a bot's pill to give it all of them. Click the pill again to take them away.
- From the bot's page: open its Access tab, go to Vault, and click Add credentials. You can also make a New credential… from there.
- When making a bot: the set-up chat asks Any passwords or keys I should be able to use?
Each row shows the faces of the bots that may use it.
Who can give an item to a bot: only the person who added the item, or an admin. To take an item away you must have added it, be an admin, or be allowed to change that bot.
Take it away
- On the bot's Access tab, click Take away next to an item.
- Or in the vault, tick the rows and click the bot's pill.
Taking an item away stops the bot from using it on its next run. If you think a password has leaked, change the password on the website itself too, then update it in the vault.
Find things
The search box finds an item by name, site, or bot: type @denials to see what that bot may use. Filters:
- All credentials.
- What @bot may use.
- Used by no bot: a good list to tidy up.
Bots saving to the vault
When a bot creates an account or receives a new key during its work, it can save it to the vault itself instead of writing it in the thread. It shows up in the list like any other item. If a bot wants to save over an item that already exists, it asks a person first.
Good practice
- One item per account. Don't reuse one login for several bots unless they really share the account.
- Use a bot's own account where the site allows it, rather than a person's. If a site needs a person's login, the bot acts with that person's access.
- Give the least. A bot gets only the items its job needs. Review with What @bot may use now and then.
- Name items clearly, with the site, whose account it is, and its purpose.
- Rotate keys when someone leaves or a bot is archived, and delete items Used by no bot.
- Ask first for risky keys. Tick Ask a person before each use on anything that can change, pay or delete.