Vendor support access
Applies to: SimpleTwo 0.9.x, coordinator with vendor support tokens (the access switch and the report to the vendor — coordinator from 19.11.2026), agent 0.5.118 · Checked: 19.11.2026
When something breaks — calls drop on one SFU, a role does not come up after an upgrade, a mail domain stops verifying — the vendor's support engineers need to see the installation's state. Until now that meant a console account created for the occasion and forgotten afterwards. A vendor support token replaces that practice:
- it only reads the console API and changes nothing;
- it does not see secrets — the screens that hold keys, passwords, tokens and decrypted data are closed to it;
- it ends on its own: the term is one to three years;
- only an owner issues and revokes it, and every issue, revocation and use is in the audit log.
The first consumer is the SimpleOne VCSM product; the "Vendor" field defaults to it.
Issue a token
Only a user with the owner role, signed in completely — password and second-factor code (or through SSO / identity) — issues one. The break-glass account does not issue tokens.
- Console → Security → Emergency access → the Vendor support access card. Only owners see it.
- Issue a token: a name (for example "VCSM support, case 4711"), the vendor, the purpose — required, it goes into the audit — and the term: 1, 2 or 3 years.
- The token,
st_vst_<id>_<secret>, is shown once. Copy it with Copy and hand it to the vendor over a channel you trust. It cannot be shown again: a lost token is revoked and a new one issued. Only its hash is stored.
A token cannot be extended — issue a new one when the term ends.
The same through the API (an owner's session):
curl -fsS -X POST "$S2/admin/api/vendor-tokens" -H "X-Admin-Token: $OWNER_SESSION" \
-H 'Content-Type: application/json' \
-d '{"name":"VCSM support","vendor":"SimpleOne VCSM","purpose":"case 4711","term_days":365}'
term_days is 365 to 1095. The list is GET /admin/api/vendor-tokens (no secrets), revocation is
POST /admin/api/vendor-tokens/{id}/revoke.
How the vendor uses it
The token is accepted only by the console API — paths under /admin/api/*, in
Authorization: Bearer … or X-Admin-Token: …:
curl -fsS "$S2/admin/api/me" -H "Authorization: Bearer $VENDOR_TOKEN" # who am I, what may I do
curl -fsS "$S2/admin/api/overview" -H "Authorization: Bearer $VENDOR_TOKEN"
The client API (/v1), the nodes' doors, the break-glass sign-in and the other services' APIs
(identity, messaging, mail, drive) do not accept it.
What it sees and what it does not
The token acts with the built-in role vendor_support: every read permission of the
catalogue (gateways:read, routing:read, users:read, settings:read, audit:read) and no
write permission. On top of that, any request other than GET is refused before its handler —
with one exception: asking a node for its journal (see Node logs).
Closed although they are reads — 403 with the code vendor_token_forbidden:
| What | Why |
|---|---|
| the break-glass account, second factors, the vendor tokens themselves | access management |
| encryption: key state, coverage, recovery sheet, message export | keys and data in the clear |
guest recovery codes (/admin/api/recovery) | live codes |
client distribution (/admin/api/clients) | the publish token |
a deployment's card (/admin/api/deployments/{id}) and rendered configs | the database DSN with its password, hosts' configs |
| automations and their runs | webhook secrets and message text |
the proxy to the directory's control door (/admin/api/identity/control/…) | personal data and identity's management |
mail DNS (/admin/api/mail/dns) | the read may create a DKIM key |
Screens where a secret is only marked ("set / not set") are open: SSO, sign-in, APNs, FCM, AI keys, SimpleOne and HRMS, LDAP, external stores, TLS. The coordinator's log, the audit and client telemetry are open — they are what support comes for — but de-personalised (see Node logs).
Node logs
Hosts' logs, reports, the audit trail and telemetry are open to the vendor, but only de-personalised: hosts send their journals to the coordinator as they are, the console's administrators read them as they are, and the coordinator de-personalises everything it serves to a vendor token — the vendor never receives a raw line.
De-personalised for a vendor token: a node's journal chunk and the error lines in its health
(/admin/api/nodes/{id}/logs, …/health), a host's reports (/admin/api/gateways/{id}/reports),
the coordinator's log (/admin/api/logs), the audit trails (/audit, /calendar/audit,
/agents/audit), client telemetry (/telemetry, /client-sessions), the mail quarantine and group
bounces (/mail/quarantine, /mail/group-bounces), the MCU's live calls (/mcu/live), alerts
(/alerts), and deployments' log lines and errors in /overview and /servers.
What is replaced:
| What | With |
|---|---|
private keys (PEM), Authorization headers, Bearer/Basic, cookies, the user and password in URLs and connection strings, SimpleTwo tokens (st_vst_…, bot_…, session tokens and JWTs), AWS and well-known API keys, the values of password=, secret=, token=, api_key=, dsn= and the like, long random strings | [REDACTED:…] |
the subject and text of mail and messages (subject=, body=, text=, preview=…, Subject: in the mail log) | [REDACTED:text] |
users in user=, username=, login=, account=, actor=, sub=, sender=, rcpt=, sasl_username=, display_name=…, in from=/to= holding an address, in sshd, postgres, pam and coturn lines | a pseudonym u-xxxxxxxx |
| e-mail addresses | u-xxxxxxxx@domain — the domain stays; role addresses (postmaster, MAILER-DAEMON, abuse, noreply) are left alone |
phone numbers (+…, Russian 8 (9xx) …, +7 …), the number in sip:/tel: | a pseudonym tel-xxxxxxxx |
| IP addresses | truncated: IPv4 to its /24 (203.0.113.x), IPv6 to its /48 (2001:db8:1::x); 127.0.0.1, 0.0.0.0, ::1 stay |
Pseudonyms. A pseudonym is the first 8 characters of an HMAC-SHA256 of the value under the installation's key. The coordinator makes the key on a vendor's first read and keeps it as one of its own secrets: sealed under the master key when encryption at rest is on, like the ACME account key. No API route serves it. So the same person gets the same pseudonym across all of the installation's logs and on any day (you can tell two errors are the same user), and cannot be mapped back to a name without the key. While encryption at rest is locked (the master key not loaded), the coordinator de-personalises with a temporary key: pseudonyms change after a restart, and nothing is served raw.
The console shows logs as they are — the de-personalised view exists only in answers to a vendor token.
What a vendor token may do:
- ask for a unit's journal —
POST /admin/api/nodes/{id}/logswith{"unit":"…","lines":N}— the onlyPOSTa vendor token is let through; at most 4 times a minute per token, every ask in the audit trail (node.logs, byvendor:<id>, with the node, the unit and the number of lines). It does not depend on the host's agent version; - read the answer —
GET /admin/api/nodes/{id}/logs— and the node's health, de-personalised.
A node's last journal chunk is one for everybody: a vendor may read a chunk an administrator asked for — de-personalised; the administrator reads one the vendor asked for — as it is.
Limits. De-personalisation is a heuristic. Names in free text ("Ivan Petrov signed in"), in
file names and in fields not on the list are not recognised; host names and file paths stay as they
are. Lists of users, groups and sessions (/users, /sessions and the like) a vendor sees as a
console viewer does — they are not logs. That is why a vendor's reads are in the audit trail, and
why the token can be revoked at any moment.
Revoke
In the card — Revoke on the token's row, then the confirmation in the row itself. Access ends at once; the row stays, marked with who revoked it and when.
What a token is answered:
| State | Answer |
|---|---|
| revoked | 401, vendor_token_revoked |
| expired | 401, vendor_token_expired |
| wrong or unknown | 401, vendor_token_invalid |
a closed path, or not GET | 403, vendor_token_forbidden |
| the vendor's access is off | 403, vendor_access_disabled |
| more than 4 log asks a minute | 429 |
Turn the vendor's access off
The first line of the Vendor support access card is the vendor access switch, one for the whole installation. Only an owner turns it.
- Off — every vendor token is answered
403,vendor_access_disabled: console reads, node log asks, feedback tickets and their acknowledgement. The tokens stay and their terms run; issuing and revoking work as usual. - On — the same tokens work again; nothing has to be reissued.
- A wrong, revoked or expired token still gets its own answer (
401), notvendor_access_disabled. - The support role's token and the administrators' personal access tokens are not touched.
- A new installation starts with access on. Without a token an owner issued, the vendor has no access anyway.
While access is off, tickets wait on the support server under the usual retention; a report (below) can hand them over.
Audit
Console → Logs → the audit trail:
vendor_token.issued,vendor_token.revoked— always, by the owner;vendor_token.used— at most once an hour per token, byvendor:<id>, with the path and address;vendor_token.refused— every refused attempt: an expired or revoked token, a closed path; a refusal because access is off — at most once an hour per token;vendor_access.enabled,vendor_access.disabled— the access switch, as the owner;vendor_report.started,.built,.failed,.downloaded,.sent,.send_failed,.receiver— reports to the vendor (below);node.logs— every ask for a node's journal, with the node, the unit and the number of lines.
The card shows each token's last use and the address it came from.
Monitoring stores
The token also reads the monitoring host's stores — through the console API, with the same
redaction: GET /admin/api/monitoring/logs (every host's journal, a LogsQL query, a window of up
to 14 days, up to 500 lines), GET /admin/api/monitoring/metrics (PromQL, instant or over a
range) and GET /admin/api/monitoring/traces (trace search, one trace by id, the services), plus
GET /admin/api/telemetry/rollup, the hourly telemetry rollup. Every question to the stores is
audited (monitoring.query), and a token may ask at most 30 a minute.
The support role's token
Beside the vendor's tokens there is a second kind of read token — the support role's (the
support server, not its bot). It opens through the same door under the same rules: reads only,
the same exclusions, the same audit (support_token.*, as support:<case>). The differences:
- it is issued by itself when a support case is deployed, and rotated when it is redeployed;
- it is delivered to that case's support host as a role parameter and shown to nobody;
- it has no term while the role is deployed; revoke it in AI & automation → Support → Support case;
- only secrets are removed from what it reads: logins, addresses and error texts stay — the support role works inside the organisation.
These tokens are not listed among the vendor's.
Feedback tickets
From support 0.32, agent 0.5.147 and a coordinator released after 19.10.2026; the only path a report takes from support 0.33.0 and agent 0.5.148.
Everything people send to support — «Report a problem», the complaint after a call, a bug or a wish the bot registered in a chat — is kept on the support server as a ticket, and that is all that happens to it on the installation's side: it reaches SimpleOne only when the vendor collects the ticket. The reporter is told the ticket's number at once («обращение T-…»). The findings of the client-telemetry triage become tickets too (with no reporter, one per kind of failure). Together with the text, the server saves what the platform saw when it arrived: the server logs for half an hour around it (lines naming the reporter's login and devices, and the errors of the services involved), the reporter's client telemetry and resource use for the day, the monitoring targets that were down, the versions and state of the roles. Logs live 14 days — a ticket keeps its own copy longer.
The tickets wait on the support server until the vendor collects them with its own token — through the console API, like everything else. The vendor gets them redacted: the reporter and the people the ticket names are the installation's pseudonyms throughout the text, secrets are cut, addresses shortened. Attachments (screenshots) cannot be redacted — giving them to the vendor can be switched off.
| Request | What it does |
|---|---|
GET /admin/api/support/tickets?after=<cursor>&status=new&limit=100 | ready tickets by cursor: tickets, next_cursor, has_more |
GET /admin/api/support/tickets/{id} | the whole ticket: text, the form's fields, the client, the enrichment sections, the attachments' list |
GET /admin/api/support/tickets/{id}/attachments/{n} | an attachment's file (SHA-256 in X-Checksum-Sha256) |
POST /admin/api/support/tickets/ack {"ids":[…], "tasks":{…}} | mark collected and name the vendor's task; repeating it is safe |
POST /admin/api/support/tickets/status {"events":[…]} | a ticket's status for its author: resolved with releases or rejected with a reason |
GET /admin/api/support/tickets/status | how many wait, the oldest, when the vendor last collected, the alarms |
curl -fsS "$S2/admin/api/support/tickets?after=0" -H "Authorization: Bearer $VENDOR_TOKEN"
curl -fsS "$S2/admin/api/support/tickets/T-3F9A2B1C4D" -H "Authorization: Bearer $VENDOR_TOKEN"
curl -fsS -X POST "$S2/admin/api/support/tickets/ack" -H "Authorization: Bearer $VENDOR_TOKEN" \
-H "Content-Type: application/json" -d '{"ids":["T-3F9A2B1C4D"]}'
Acknowledging and the status for the author are all a vendor token changes: the hand-off's state, not
the content. Every ticket request is in the audit trail (support_tickets.list, .read, .attachment,
.ack, .status); at most 120 requests a minute per token. The support role's token does not read the
tickets.
The author learns what became of the report. The support bot writes to the author's DM on every change — in the installation's words, in the report's language; the vendor sends no text of its own:
| Status | From | What the author reads |
|---|---|---|
| accepted | an ack naming the task (tasks) | "Your report T-… has been accepted and is being worked on." |
resolved | POST …/tickets/status, resolved_in — platforms and numbers of published releases | "Your report T-…: fixed in iOS 1.0.40 — please update the app."; for the server — "…it takes effect once SimpleTwo is updated in your organization." |
rejected | POST …/tickets/status, reason — not_reproducible, by_design, wont_fix or environment | for example, "Your report T-… is closed: it was decided not to fix it." |
curl -fsS -X POST "$S2/admin/api/support/tickets/status" -H "Authorization: Bearer $VENDOR_TOKEN" \
-H "Content-Type: application/json" -d '{"instance":"default","events":[
{"id":"T-3F9A2B1C4D","event_id":"<event id>","status":"resolved","resolved_in":[{"platform":"ios","version":"1.0.40"}]}]}'
Up to 100 events a call, each answered: ok, duplicate_event (that event_id was taken before —
nothing done), unknown_ticket, or invalid with the reason. Platforms are ios, android, macos,
windows, web, server. Only the vendor sets a status: the console cannot, and the ticket's card shows
the statuses and whether the author was told. The bot opens no DM: for an author without one the message
looks for it once a day for 30 days; telemetry findings have no author — the status is kept and told to
nobody.
Console → AI & automation → Support case → Feedback tickets: how many tickets wait for the vendor and when it last collected, the list and the ticket itself, and the case's settings:
| Setting | Default |
|---|---|
| keep uncollected | 90 days (then deleted, an error in the journal) |
| keep collected | 30 days after the acknowledgement |
| storage cap | 2048 MB (over it only collected tickets are deleted) |
| alarm: waiting for the vendor | 50 tickets |
| alarm: the oldest waits | 72 hours |
| give the vendor attachments | on |
The alarms show in the console's banner. The full API description for the vendor's team is with the supplier.
What is gone. The support bot used to post a draft of every report into the «SimpleTwo Dev» room, where the person on duty approved it with a ✅ reaction; a GitLab issue was then filed and the bot told the reporter how it went. That path is removed: provisioning a case no longer creates the dev room, the approval role or the automation rule, and no longer needs GitLab (GitLab is only an optional source for the bot's knowledge base — an address, a project and a read token). On an installation whose case was provisioned before, press Provision once more: the approval rule is deleted and what the console knew of the room and the role is forgotten. The room and the role themselves are left alone — remove them by hand if they are not wanted; the bot stays a member of the room but takes no reports from it. Replies from the vendor to the reporter come as the next step.
Report to the vendor
A one-time report of the installation for the vendor — a way to hand data over without letting the vendor in, or to back up a particular case. It works with the vendor's access off. Only an owner builds and sends it.
- The Vendor support access card → the Report to the vendor block.
- Pick the period — 24 hours, 7 or 30 days — and, if you like, the vendor's case number and a comment, then Build the report. It is built in the background, usually within a minute; its row in the history shows what it holds: the sections, their size, what was cut and which sources did not answer.
- Download — a
.json.gzfile to upload to the vendor by hand (a closed network). Send to the vendor — the same file goes to the vendor's receiver; the outcome is in the history of sends, with the vendor's report number or the refusal's words.
What the report holds:
| Section | What is inside |
|---|---|
passport | the installation's id and name, the coordinator's version, platforms and roles, the telemetry mode |
usage | the accounting: people and guests, the products activated on each platform of the line — numbers only |
health | the overview, the servers, the alerts |
telemetry | the clients' hourly telemetry rollup, all of it and the errors alone, over the period |
resources | the hosts' resources over the period |
logs | each host's error tail and last journal chunk — what the coordinator already holds |
tickets | up to 100 uncollected feedback tickets, oldest first, without the attachments' contents |
audit | how many audit lines of each action and each day, without the lines |
- The report is read through the same paths as a vendor token: screens closed to the token are not in it, and people, addresses and secrets are redacted the same way. It holds nothing a token would not read.
- The report is signed by you: the login and name of whoever built it — the vendor's contact for it. Everybody else is a pseudonym; the "changed by / created by" fields of every answer to a vendor are too.
- A section whose source keeps less than the period says where it really starts.
- The limit is 20 MiB compressed; past it the largest answers are left out, and the section says so.
- The file is kept 7 days for downloading and sending again, then deleted; its row in the history stays.
- Tickets handed over in a report are not marked collected: only the vendor says that.
The receiver. The product sets the receiver's default address; until the vendor names one, Send to
the vendor is unavailable and downloading works. An address of your own (a partner, your own VCSM) is
set with Change…: https only, no user or password in it; an empty field goes back to the product's.
The report goes without credentials; the receiver matches it to the customer by the installation's id.
Switching to identity
Vendor support tokens are the coordinator's own credentials, not sessions. So neither switch of
switching to identity — sign-in (sign_in_mode) or the platform
token (platform_token) — affects them: issued tokens keep working. After the switch only an owner
still issues them — signing in on identity's page, with the owner role taken from the
coordinator's projection of identity (the account's roles and its groups'). Identity's own console
and API do not accept vendor tokens.
The console's second factor
Two-factor authentication is mandatory in the console, and from this release the server
enforces it, not just the page. A password sign-in by an account without a second factor (and the
first sign-in after installation) opens the second-factor setup only: any other /admin/api
request is answered 403 two_factor_enrollment_required. Once the code is confirmed the console
gets a full session and opens. Sign-in through SSO or identity is not affected — the second factor
there is the sign-in provider's; the break-glass account always signs in with a password and a
code.
Scripts that signed in to the console with a password alone must now pass the code
(scripts/fetch-geoip-ru.sh — in ADMIN_CODE), and for scheduled reads a vendor support token is
the better fit.