Kroos Developers
Kroos Developers › Internal assistant

Read-only access to internal systems

Let Kroos learn your databases, warehouses and SaaS systems safely — ROUA is recommended, and equivalent read-only setups you already run are accepted.

Kroos can map and query your internal systems to answer employees, but only through access that is read-only, scoped, expiring, logged and revocable. Credentials never reach Kroos: it only gets a vault reference.

Two routes#

RouteVerificationWhen to use
ROUA (recommended)Verified: Kroos checks the audit report itselfNew setups, or when you want independent verification
An equivalent method you already runOwner-attested against required controlsYou already have read-only roles, IAM, a PAM broker, data shares or scoped APIs

ROUA#

ROUA (Read-Only User Account) is an open standard and free tool for creating standardized, expiring, audited read-only accounts for AI agents, demos and reviewers. Create the account with the ROUA tool, run its audit, and upload only the audit output:

bash
curl -s -X POST https://kroos.ai/api/tenant/roua -H "authorization: Bearer kroos_sk_..." -H "content-type: application/json" \
  -d '{"sourceName":"orders-db","engine":"postgresql","report":"PASS R1 no write privileges\nPASS T2 expiry set\n…"}'

A source is usable while its latest audit passes and is under 7 days old (daily re-audit is recommended). Reports containing passwords or connection strings are refused. Links to the ROUA tool and guide are in Console → Employees.

Equivalent methods#

MethodExamplesLive queries
Native read-only database rolePostgreSQL pg_read_all_data or SELECT grants, MySQL SELECT-only user, SQL Server db_datareader, MongoDB read, Oracle read-only userYes
Read replica or snapshotRDS/Aurora replica or clone, Cloud SQL replica, Azure SQL geo-replica, nightly restoreYes
Cloud IAM with short-lived credentialsAWS IAM role + RDS IAM auth, Google Cloud IAM + Cloud SQL IAM auth, Azure Entra ID managed identity + ReaderYes
Privileged-access broker / dynamic secretsHashiCorp Vault database secrets engine, CyberArk, Teleport, StrongDM, BeyondTrust, DelineaYes
Governed data share or secure viewsSnowflake Secure Data Sharing, BigQuery authorized views, Databricks Unity Catalog / Delta Sharing, Redshift data sharingYes
Application API with read-only scopesSalesforce read-only integration user, HubSpot private app, Zendesk/Jira read-only token, Microsoft Graph Read.AllYes
Metadata-only exportinformation_schema, dbt manifest, catalog exports (DataHub, OpenMetadata, Collibra, Alation)No (schema mapping only)
Replicated, masked sandboxFivetran or Airbyte into a masked schema, AWS DMS, Tonic/DelphixYes

Controls#

Based on common least-privilege practice for non-human identities (NIST SP 800-53 AC-2/AC-6, CIS Controls 5–6, SOC 2 CC6).

ControlRequired
Read-only: can't insert, update, delete or change schemaYes
Scoped to only what Kroos needsYes
Credentials expire in 90 days or less, or are issued just-in-timeYes
A dedicated, non-shared identity used only by KroosYes
Credentials stay in your vault; Kroos gets a referenceYes
Every query or API call is logged on your sideYes
Can be disabled immediatelyYes
Personal and secret fields masked, excluded or tokenizedRecommended
Reachable only from approved networksRecommended
Statement timeouts, row or rate limitsRecommended

Attest a method#

bash
curl -s -X POST https://kroos.ai/api/tenant/access/attest -H "authorization: Bearer kroos_sk_..." -H "content-type: application/json" -d '{
  "sourceName": "crm",
  "method": "api_scoped",
  "controls": { "read_only": true, "least_privilege": true, "time_bound": true, "unique_identity": true,
                "credentials_in_vault": true, "audit_logging": true, "revocable": true,
                "pii_protection": true, "network_restricted": false, "query_limits": true },
  "evidence": "Salesforce integration user with a read-only profile; token rotates every 30 days.",
  "attestedBy": "Ada Lovelace, Head of Data",
  "days": 30
}'

Method IDs: db_readonly_role, read_replica, cloud_iam, pam_broker, warehouse_share, api_scoped, metadata_export, replicated_sandbox. GET /api/tenant/access/methods returns the full catalog and your attestations.

  • The attestation passes only if every required control is true.
  • It lasts up to 90 days; re-attest before it expires.
  • Evidence containing secrets is refused.
  • Revoke with POST /api/tenant/access/attestations/:id/revoke.
  • A fresh, passing ROUA audit for the same source takes precedence.

Explorer#

With access in place, the Explorer builds a reviewed map of your systems.

RequestPurpose
POST /api/tenant/explorer/schemasourceName, export (information_schema.columns as CSV, TSV or JSON), optional department → a system map saved as a document pending review
POST /api/tenant/explorer/querysourceName, credentialRef (env:VAR on Kroos Node or aws-sm:<secret>), sql → read-only query, row-capped, personal and secret columns masked
POST /api/tenant/explorer/check-sqlCheck whether a query would be allowed
GET /api/tenant/explorer/runsHistory

Live queries run on Kroos Node inside your network and need a database driver there. Every query passes a read-only parser, a row cap and the audit log, in addition to the database's own permissions.

Last updated 2026-12-03