Access vault
Knowledge base → Access is a safe place for logins, tokens and SSH access to your systems: servers, hosting, a website admin, API services. Keep them here, not in chat, in an agent prompt or in knowledge-base documents, where they would end up in search and in replies.
Finding an entry in the list
Once the list grows (from the eighth entry), a search box and a type switch appear above the table:
- Search looks through the entry name and its caption: username, link, server address. Letter case, extra spaces and “e/ё” do not matter; every word you type must be present. Secret values and notes are not searched, and nothing is sent to the server: the search only scans the list that is already loaded.
- Type switch: “All”, “Logins”, “Tokens”, “SSH” with the number of entries. Only the types you are allowed to see are offered; with fewer than two visible types there is no switch.
- If nothing matches, “Nothing found” and a Reset button appear; it clears the search and the filter and returns the cursor to the search box. A screen reader announces the result: “Found: {n}”.
With fewer than eight entries the page looks as before: no search and no switch.
How to add an entry
- Open Knowledge base → Access and press Add.
- Choose a type: login, token or SSH access. You are offered only the types you are allowed to see.
- Fill in the fields and save. The name is required; a token and SSH also need a value (token, key or password).
The name, username, link, host and port are ordinary labels: everyone who has the permission for that type sees them in the list. Only the password, token, private key, passphrase and notes are treated as secrets.
What you can store
| Type | What is inside |
|---|---|
| Login | Username, password, a link to the system, notes |
| Token | Token value, service or link, expiry date, notes |
| SSH access | Host, port, user, private key (or password), passphrase, notes |
For an SSH key, Smokva shows the public key and the fingerprint itself, so you can check it is the right key.
Which SSH keys are accepted
OpenSSH keys (BEGIN OPENSSH PRIVATE KEY) and PEM keys (RSA/EC/Ed25519) are accepted, with or without a passphrase. So that parsing a key never slows the service down for everyone, there are limits:
| What | Limit |
|---|---|
| Key size | up to 4 KB, which means RSA up to 4096 bits (Ed25519 and ECDSA are much shorter) |
| OpenSSH key protection | up to 128 rounds (ssh-keygen uses 16 by default; the usual hardening -a 100 passes) |
| PKCS8 key protection | up to 2 million iterations |
If a key is rejected as "too large" or as protected by a passphrase that is "too heavy", re-encrypt it with ordinary parameters, for example ssh-keygen -p -a 16 -f key_file, or generate a new Ed25519 key.
How values are protected
- Passwords, tokens, private keys, passphrases and notes are stored only in encrypted form.
- Lists and cards hide values. A token shows its first and last four characters (if it is long enough); a password and a private key are never shown.
- To see or copy a value, press the eye or Copy button. That is a separate request and it is written to a log: who, when and which field. At most 30 reveals per minute per person.
- An agent does not receive the value in the conversation. Once you grant an entry (see "Granting access to agents"), the agent fills the value in itself, into the request to your service; the platform does not write it to the event log and removes it from the service's answers for the standard encodings. This is a safeguard, not an absolute guarantee, so do not paste passwords into a conversation with an agent.
- You can add or change entries that carry a secret (password, token, key) at most 10 times per minute; if you hit the limit, try again in a minute.
- Every reveal and every use by an agent stays in the access log: the ⋯ menu → History.
Granting access to agents
You can allow an agent that works on tasks to use a token or a login. The idea is simple: the agent fills the value in itself when calling your service and never sees it; if the service returns the value in its answer (for example a debug echo of the request), the platform removes it from the answer for the standard encodings before the answer reaches the model.
| What | How it works |
|---|---|
| Who can be granted | Only an agent with the “Executor” role (an internal agent that works on tasks from your team). Public agents that talk to customers cannot be granted entries |
| What can be granted | Tokens and logins. SSH access is granted separately, once the platform has turned the SSH executor on: see “SSH access for an executor agent” below |
| Default | Nobody: until you turn it on by hand, no agent gets any entry |
| How the agent uses it | Through a connected service: an HTTP (REST) connector that has this entry assigned as its access source. A token goes into a request header or address; a login and password go only into Basic authorization. A “Login” entry fits only a service with Basic authorization, a “Token” entry only a service with Bearer or API-key authorization |
| Notes | Never passed to the agent: not into the conversation, not into a request to the service, not into a server command. They are for people who have the notes permission only |
| Minimum length | Only values of at least 8 characters are handed to agents: a token or password shorter than 8 characters cannot be used, and the agent gets an “access revoked” refusal. For automation we recommend long machine tokens and application passwords |
| Where the value goes | Only to the address set in the connector itself, and only over a secure channel (https://). The agent and the model cannot change the address; for a connector with an assigned entry the address cannot be changed until the access is detached |
| How to assign an entry to a service | The Agents window (⋯ menu → Agents) has a Where to use group: choose a service and press Link. Details are in “Where to use: linking to a service” below. The “Manage connectors” permission is required |
| How to grant | In the list, open the ⋯ menu of the entry → Agents and turn on the “Can use” switch for the agent. Turn it off to take the access back. Granting alone is not enough for the agent to actually use the access: it also needs a link to a service and the service given to the agent — the window shows the outcome under each agent |
| Who can do it | You need both permissions: “Manages access entries” and “Configure agents”; otherwise the Agents item is not in the menu |
| Who used it | ⋯ menu → History: when the entry was granted or revoked, who revealed the value and which agent used it (with the result). The history never contains the value; the latest events are shown |
If the Agents window is empty, create an agent with the “Executor” role. If it says that granting is unavailable, the server has no dedicated encryption key yet: contact Smokva support.
If an agent could not use an entry (the grant was withdrawn, the key or the entry changed, the service is linked differently), it gets a generic “access revoked” refusal and does not name the reason (the one exception is a task that came from another agent, see “Whose task, their access” below); the attempt is recorded in History with the result “refused”. The value never appears in History.
Where to use: linking to a service
The agent puts a token or login into requests to a service — the system it calls with this access (for example, MoySklad). Three steps are needed, and all of them are in one window: ⋯ menu → Agents.
- In the Where to use group choose a service and press Link. Service templates — MoySklad, YCLIENTS and ALTEGIO — connect by themselves: you do not enter the token a second time. Services that already exist are also in the list (“Your services”). All services in one list, their status and management are in the Knowledge base → Own services tab (see the “Own services” page).
- In the Agents group turn on the Can use switch for the executor agent.
- An outcome appears under the agent. Works: the “…” service is given to the agent means everything is ready. If it says The service is not given to the agent, press Give the service.
| What is written under the agent | What it means and what to do |
|---|---|
| Works: the “…” service is given to the agent | The access is granted, linked to a service and the service is given to the agent — you can set a task |
| Cannot use it yet: no service chosen | The access is granted but linked to no service: choose a service in “Where to use” |
| The service is not given to the agent | The access is linked, but the agent has not received the service’s skills: press “Give the service” |
| The service is off or needs reconnecting | The service is switched off or lost access: in “Knowledge base → Own services” turn it on or press “Reconnect” |
| The service has no available requests | The service has no skills left that can be given to the agent |
| The value is shorter than 8 characters / the login has an empty username or a colon / the entry is damaged / encrypted with an old key | The entry itself cannot be given to an agent whichever service it is linked to: set the value again (for an old key, contact Smokva support) |
| A team member with the “Manage connectors” permission will give the service to the agent | You may not link access to services or give them to agents: granting to agents is available to you, the rest is done by the owner or an administrator |
An agent that was not granted the access has no outcome: turn the switch on first.
How to replace a link. Change links the access to another service and releases the previous one at once. If the service already works with another access, the window asks for confirmation: Replace access hands the service over to this access, and the previous one stops working in it — agents that were granted only that access lose the service. The replacement is recorded in the history of both accesses. Unlink removes the link completely.
How it looks in “Own services”. If a service is linked from “Access”, in the “Knowledge base → Own services” list it shows the Working status (or Not set up with a reason), and the service card names the linked entry — you do not need to enter the token again. The same reasons are written under the agents in the “Agents” window. MoySklad, YCLIENTS and ALTEGIO are not connected in the agent’s “Integrations”: “Integrations” is only what we have built (messaging channels, Yandex).
Good to know:
- A token can be linked to a service with Bearer or API-key authorisation, a login to a service with Basic authorisation. The service address must start with
https://; after linking it cannot be changed. - If a service already has its own token entered in the service itself, you cannot link an access to it from the window — the working token would be lost. Open the service in “Knowledge base → Own services”, press “Delete token” and link the entry again.
- Your own service (any other API that is not among the templates) is created with the wizard — see “Your own service” below. The wizard does not create requests that change anything in the service yet.
- Template services also contain actions that change something (for example, create a counterparty or a booking). The agent does not run them by itself: when the platform has enabled this capability, it sends them to you for approval.
- Subtasks created by other agents do not get the access, and notes are never passed to agents — see below.
Your own service: any API with a token
If the service you need is not among the templates, connect it yourself: in the “Where to use” list choose “Your own service…” (the “Other” group). The wizard asks three things and, at the end, in one action creates the service, links this access to it and gives the service to the agents that already have this access.
- Where. A name (this is how the service is named in the cabinet) and the API address, for example
https://api.shop.example.ru/v1.https://only: a token is never sent over an open channel. The address must not contain a login (user@), spaces,?or#, and cannot be an IP address, an internal name or a Smokva address. While access is linked to the service, the address cannot be changed — the token never goes to another server. - How to pass the access. Check the service documentation for how it accepts a token:
| Method | What is sent to the service | When to choose it |
|---|---|---|
| Bearer header | Authorization: Bearer <token> | most often: most services accept a token this way |
| Custom header | <header name>: <token>, for example X-Api-Key | the documentation says “send the key in the X-Api-Key header” |
| In the address | …?<parameter name>=<token>, for example ?api_key=… | the service expects the key in an address parameter |
A login and password are passed in a Basic header — nothing to choose. A custom header cannot use a reserved name (Host, Content-Length, Cookie, Authorization and similar): for Authorization use “Bearer header”.
- What the agent can do. Describe the requests you allow the agent: for each one — a name (the wizard builds the request name for the agent from it), a “what the request does” description (the agent reads it and decides when to call), the request address (the part after the service address) and optional parameters. Path variables go in curly braces:
/orders/{id}— the agent fills in the order number. Address parameters (?status=…) are added with “Add a parameter”. Up to 20 requests, up to 10 parameters per request.
Example. An online shop at https://api.shop.example.ru/v1 with a token in a Bearer header. Request “Order list”: “Shows the shop orders, can be filtered by status”, address /orders, an optional status parameter. Request “Order by number”: “Finds an order by its number and shows its contents”, address /orders/{id}.
After “Create and link” the window shows the result: the service is created, the access is linked, the number of requests. Agents that already have this access get the service right away; you can give it to the others with “Give the service” in the “Agents” window. Pressing the button twice does not create a second service; if something goes wrong, nothing is created.
Honest limits:
- The agent makes read requests (GET) only. Requests that change something in your service (create, edit, delete) and OAuth connection are not created by the wizard yet.
https://only; the token goes exactly to the service address and nowhere else. If the service answers with a redirect to another address, the agent does not follow it and the token is not sent there.- The agent uses the token only in a task set by a team member; subtasks created by other agents do not get the access. Notes on the access are never passed to agents.
- There is no “Test request” button: check the service by giving the agent a task. If the service response contains your token, the platform hides it before the agent reads the response.
- The service can be created and linked by a team member with the “Manages access entries” and “Manage connectors” permissions (by default the owner and the administrator).
Whose task, their access
An agent uses a token or a login only on a task that an employee stands behind. This stops “agent → agent → agent” chains: access must not travel further than a person allowed.
| Who set the task | Token and login substituted | SSH works |
|---|---|---|
| You or a colleague, to the executor directly, with the button in the AI team | Yes | Yes |
| You, through the Business Engineer (you confirmed the widget in the chat) | Yes | Yes |
| A schedule that you or a colleague created | Yes | Yes |
| A department head handed work to executors (a subtask) | No | No |
| A task born from a handoff between departments | No | No |
The rule holds at any depth of the chain: a subtask of a subtask gets no access either, even if the root of the chain is your own task.
What happens when the task came from an agent. The request to your service is not sent. The agent gets a clear explanation: “access is substituted only on a task set by an employee; an employee should give the task to the executor directly”. History records the attempt with the result “refused”; the value is never recorded.
What to do. If the executor holds a token or a login, give the task to the executor itself, not to the department head. If the work must be handed out through a head, the vault entry cannot be used for it.
The platform turns granting to agents on separately from the Access section itself: while it is off, the Agents item is not in the menu, History stays, and agents do not use entries.
SSH access for an executor agent
The “Website administrator” agent can log in to your server itself, look at what is going on and, only with your approval, change things. It works on tasks from your team in the AI team room. Customers in messengers and public agents cannot use this access. The platform turns the feature on separately: while it is off, SSH access cannot be granted to an agent. A step-by-step description with example tasks is on the “Website administrator” page.
How to grant SSH access to an agent
- Add SSH access to the server (host, port, user, key or password), as described above.
- Create an agent from the “Website administrator” template (the “Executor” role) if you do not have one yet.
- In the list, open the ⋯ menu of the SSH entry → Agents and turn on the “Can use” switch for the website administrator. Turn it off to take the access back.
- Give a task in the AI team, for example: “Find out why the site is slow”.
You need the “Manages access entries” and “Configure agents” permissions. The agent sees only the servers you granted and only their names, never the key or the password. It is better to create a separate user with minimal rights on the server than to work as root. The server must be reachable at a public address: servers on a local network or behind a VPN are out of the agent’s reach, and the platform’s own addresses are blocked.
What the agent does on the server
It reads the safe things (application logs, service status, disk, memory, versions, containers) at once; anything that changes something or may expose other people’s secrets (process lists, crontab, login logs) happens only after your approval: you see the exact text of the command and press “Approve” or “Deny”. Some actions are forbidden even after approval. How this works, example tasks and what each member can see are on the “Website administrator” page. Every command is recorded in the History of this access entry.
Server fingerprint
On the first connection Smokva remembers the fingerprint of your server’s key, like the server’s “passport”. The first connection is accepted on trust (like your first ssh to a new server): the fingerprint is pinned after a successful login, so a substituted server at that very moment would receive the password. If you suspect a substitution, check the fingerprint against the server itself before the first command and sign in with a key rather than a password. If the server later presents a different fingerprint, the agent’s connections are blocked and no login or key is sent to that server. A red banner “The server’s key fingerprint has changed” appears in the access card, showing the previous and the new fingerprint.
- If you reinstalled or replaced the server, check the new fingerprint against the server itself (for example,
ssh-keyscan -t ed25519 server_address | ssh-keygen -lf -) and press Accept new fingerprint in the banner: Smokva pins exactly the key shown in the banner. A member with the “Manages access entries” permission can accept it. - If the server has not changed, press Keep the old one and find out the reason: a substituted server looks the same. The old fingerprint stays, and the agent’s connections to a server with the new key remain blocked.
- The Reset button in the Server fingerprint group removes the pin, and the next connection remembers whatever the server presents. While a new fingerprint is waiting for a decision in the banner, Reset is unavailable: accept it or keep the old one first.
- If the server changed only the key type (for example, it was RSA and became Ed25519), there is no banner: the connection is refused and the event is visible in History. Check the server’s keys and press Reset.
- If you change the host or port in the entry, the pin is removed by itself: it is a different server.
History
The ⋯ menu → History shows every command of the agent: the text (shortened), “Read-only, no approval” or “Approved by: <who>”, who requested it, the exit code and the duration. If a command was declined with “Deny”, History shows “Rejected by a person” and who decided. Refusals and failures are shown with the reason (forbidden by the rules, server address not allowed, key fingerprint changed, the server did not accept the access, the command ran out of time, server unreachable, and so on); “server busy” and “run time used up” refusals are not written to History: the agent reports them in the task. Fingerprint events are separate lines: remembered, changed, new one accepted, reset. The password, the key and the server’s output are never in History.
Security
- The agent never sees the key or the password: the platform makes the connection to the server.
- A password (or key passphrase) shorter than 8 characters is not handed to the agent: for password login use a longer password, or better, a key.
- The platform removes the values of your password and key from the server’s output, but it cannot remove other people’s secrets from logs and command output (passwords in process parameters, environment variables): they would reach the agent and the AI provider. That is why the agent does not read process lists (
ps,top),crontab -l, login logs (auth.logand similar) orjournalctlwithout a service name on its own: such commands come to you as an approval card. Do not keep secrets in application logs or in process command lines. - Do not paste passwords and keys into the text of tasks: the command text is visible on the approval card and in History.
Who sees what
The owner (and a member who may manage members, only within their own permissions) configures this under Members and roles → role → Access. Each permission is a switch to the right of its name: on means the role has it. The switches do not turn each other on or off: “Manages access” does not add visibility of any type, and turning off “Sees logins” does not take management away. A switch you do not hold yourself is disabled, with the note “You can only grant what you have yourself”.
| Permission | What it gives |
|---|---|
| View knowledge (the “Knowledge base” section) | A required condition for entering the Access section: it lives inside the knowledge base. Without it the section is closed even with the “Sees …” permissions on, by a direct link too; if a role is given “Sees …” but not “View knowledge”, the role editor shows a hint |
| Sees logins / tokens / SSH access | Entries of that type in the list, and their values |
| Sees notes | The Notes field (stored as a secret) |
| Manages access | Add, edit and delete, only entries of the types the person can see |
By default access is closed to everyone except the owner. An administrator can grant only the access permissions they hold themselves. There are no per-person permissions: create a separate role for an exception.
What is not here
The section cannot generate passwords, store two-factor codes (TOTP) or export values to a file. An agent that needs a login with an app code would not be able to sign in anyway, so keep such credentials for people only.