StrataLake

A StrataBI Platform Module

Powered by Shaleio

Tier: Premium MX · module id stratalake · type multi_page_app (an app StrataBI renders from its own pages) · requires StrataBI · recommended with StrataForge, StrataChat and StrataIndex; optionally the Redshift Connector

Note
In release-candidate testing: its Athena connections, grants and query guard run in an AWS account; per-person enforcement by AWS is not available yet. StrataLake has run in Shaleio's own AWS test account since 2026-11-29, as a release candidate. It is not yet available to order. Each section says what has run there and what has been tested only against local stand-ins. See In development for what else we are working on.

StrataLake is governed data connections for StrataBI: register a source once, validate what it can verifiably do, grant it to roles and people, and let them and Guildmaster run bounded read-only queries through it. Data stays where it is. Each connection has one fixed way its data is authorized, and says which.

It is an optional module. Installing it adds one DynamoDB table and three Lambda functions in your own account and gives them no data access until you name what they may reach.

What you get

Open Apps → StrataLake. Three tabs:

TabPurpose
QueryThe connections you may use and who decides what each returns. List a connection's tables and columns, check a query, run it, and read the result, which is yours alone and kept for a short time. Shows who you are signed in as.
ConnectionsFor administrators: store a profile, register a connection, validate it against the provider, switch it on or off.
Access & AuditGrant a connection's use, by operation, to StrataBI roles and people. See who signs in under which name, end a person's sessions, and read this month's jobs and audit events.

A connection is usable only when it is registered, switched on, validated at its current version and granted to the person asking. A changed connection is unusable until it is validated again.

How a connection is authorized

A connection has exactly one mode, set by an administrator. There is no fallback from one mode to another, on any error.

ModeWho authorizes the dataState
service_roleThe module's own AWS role (IAM, or Lake Formation grants to that role), behind StrataLake's grants. Used for Athena.Runs in an AWS account: a query through a connection returned the same rows as the same SQL run directly in Athena.
provider_serviceOne service identity at the provider, behind StrataLake's grants.Built for the Redshift Connector (its named queries only) and a mock provider. Tested against stand-ins only.
aws_tipAWS, per person.Not available: switched off, and it cannot be enabled. See Per-person enforcement.
provider_delegatedAn external provider, per person.A contract only. A connection that names it is refused.

The two modes that can be used read as one identity for every user. That is an application gate in front of a shared credential, not per-user enforcement, and StrataLake says so wherever a connection is shown. What differs between two people is whether StrataLake lets them use the connection, not which rows the source returns.

A query, in order

  1. The arguments are validated. Unknown fields are refused.
  2. The caller is taken from where the invoking service writes it, never from arguments, SQL or anything a model wrote.
  3. The grants are read now. With no grant for this connection and this operation, the answer is the same as for a connection that does not exist.
  4. The connection must be on, and its current version must hold a passed validation.
  5. The SQL is parsed, not pattern-matched: one statement, a query only, no writes anywhere in it, and every table it reads is one the caller declared and the connection allows. Values travel as bound parameters.
  6. The source runs it under the connection's profile (for Athena, in that profile's one workgroup) and its limits: rows, bytes scanned, time and concurrent queries.
  7. The result is stored once, for the person who asked, with an expiry.
  8. The audit records who, which connection, which mode and the provider's query id. It holds no SQL text, no parameter values and no rows.

A refusal at any step is the answer. Nothing retries through another connection, mode or role.

json
{"connection_id": "finance-shared-athena",
 "assets": ["sales.orders"],
 "sql": "SELECT program, sum(amount) AS amount FROM sales.orders WHERE period = ? GROUP BY program",
 "parameters": ["2026-Q3"],
 "limit": 500,
 "purpose": "quarterly spend by program"}

A query plan names no role, account, workgroup, endpoint, secret or credential mode: those come from the connection's administrator-approved profile and from nowhere else. A plan reads one connection; there are no joins across sources.

Results

Ask Guildmaster

With StrataLake installed, StrataForge finds its read function by name and offers Guildmaster nine tools, in StrataForge, in StrataChat and at the terminal (strataforge lake). The tool definitions and their guidance come from StrataLake itself.

Guildmaster drafts; you review and run. When you should see a query first, or it may be costly, Guildmaster drafts it with lake_draft_query. The plan is checked as you, exactly as lake_validate_plan checks it, and kept for 24 hours as a draft that only you can open. Nothing runs. The answer gives the most the query can cost and a link: StrataLake opens with the Query tab filled in and checked, marked as drafted by Guildmaster, and runs it only when you do. When you ask Guildmaster to run a query, it submits it as you (lake_submit_query).

Results are references. On a browser_only connection, the default, Guildmaster learns that a result exists and how to reach it, never the rows. A finished query answers with a link that shows you the rows in the table below the app, on your page only. Links on Guildmaster's cards open StrataLake beside the chat: in StrataForge's StrataBI view, or in StrataChat's Preview tab.

The tools ship in the release candidate. A run with a model in the test account has not been recorded yet.

ToolDoes
lake_list_connectionsThe connections you may use, each with one sentence saying who decides what it returns.
lake_discoverThe tables in a connection.
lake_describeA table's columns, types, comments and partition keys.
lake_validate_planChecks a query plan. Nothing is executed.
lake_draft_queryChecks a plan as you and keeps it as a draft for you to review and run in StrataLake. Nothing is executed.
lake_submit_queryRuns a plan as you, under the connection's fixed mode.
lake_query_statusWhere a query stands, and its usage.
lake_fetchThe bounded result of a finished query.
lake_cancelCancels your own query.

An assistant can do what its person may do through these tools, and nothing administrative: profiles, connections, validation and grants are for people, on the module's pages.

Review your LLM providers, including Amazon Bedrock, for data flight and sufficient isolation for your organization's needs when implementing AI. Learn more: Data protection in Amazon Bedrock

Who is asking

A connection that reads as one role for everyone still has to know who is asking, for its own grants and its audit. StrataLake accepts that in one of two strengths:

Actor namePlatform assertion
What arrivesThe signed-in user's StrataBI actor name, written by the service that invoked the function.A short-lived statement signed with a KMS key that only the platform's own roles may sign with.
Who the person isA name: lowercased and cut at 32 characters.A principal: a hash of the verified issuer and subject of their sign-in.
Can two people share itYes.No.
Can someone who can invoke the function forge itYes.No.

The assertion path depends on an identity handoff in StrataBI itself, which is off by default. In Shaleio's test account it is on: the app's calls arrive with a platform assertion, and a missing, malformed or forged one is refused. With it on, a grant can name a principal, and a grant made to a name stops applying to anyone the moment two people present that name, until an administrator says whose it is.

Per-person enforcement is not available

Having AWS decide, per person, which rows and columns a query returns is what the aws_tip mode is for. It is not available. The mode is scaffolded and switched off, none of it has run against AWS, and the code keeps it unusable: a connection in this mode cannot pass validation. Until then, StrataLake decides who may use a connection, and the source decides what that connection's one identity may read.

It will be called supported only after it has been shown in a real account that two people with different grants get different rows from one query, and a third is denied.

What your IT prepares

StrataLake creates no workgroup, no Lake Formation grant, no resource share, no trust, no KMS key and no network path. It names what your IT created, checks that it is what the profile says, and puts its own gate in front.

For an Athena connection that means:

  1. A workgroup for StrataLake alone, with "override client-side settings" on, an encrypted result location used by nothing else, and a per-query data-scanned cutoff. Validation fails without the first and the last.
  2. Data access for the module's read role: IAM read on the table locations, or Lake Formation grants to that role. Grant the databases and tables the connection is for, nothing more.
  3. The workgroup, database and result-location names in the installation's settings.

Data another account shares through Lake Formation is reached like a local table, through a resource link your IT creates. That has not been tested: it needs a second account.

Close the other routes

A connection governs its own path. While another role can read the same table, the table is not governed, and installing StrataLake does not change that. In a default deployment the same tables can also be reached by StrataBI's own roles, the StrataForge gateway's role, modules built from the query and cache templates, and StrataMail's report runner. Before describing a source as governed, restrict each of those in IAM or Lake Formation, give the governed workgroup a result location nobody else can read, and keep sensitive connections on browser_only with short result lifetimes.

Install

StrataLake installs like any other module. The release candidates in Shaleio's test account were installed and updated this way:

bash
stratactl install stratalake
stratactl uninstall stratalake

With every answer left at its default the installation has one table, three functions and no data access of any kind. Removing the module deletes them; StrataBI, other modules, your roles and your data are untouched.

Settings

SettingDefaultTurn on when
admin_actorsnone (required)Always: at least one StrataBI user, or nobody can configure anything.
athena_workgroups, athena_databases, athena_results_arnsnoneA connection reads through Athena under the module's own role.
data_read_arnsnoneThat role reads table data by IAM, without Lake Formation.
lake_formationoffLake Formation grants data access to that role.
athena_price_per_tb_usdblankYou want a cost estimate. Blank reports cost as unknown.
enable_external_connectors, redshift_connector_functionoffStrataLake fronts the installed Redshift Connector, or you try the mock provider.
assertion_key_arnsnoneStrataBI's identity handoff is on: callers are then identified by a principal, not by a name.
enable_identity_handoff, enable_aws_tipoffLeave off. Unverified scaffolding for per-person enforcement; not for an environment people rely on.

Changing a setting re-applies the module. It never touches StrataBI, another module, your roles or any data.

AWS services

Everything below runs in your AWS account. It is created by the install unless noted.

ServiceUsed forRequired
Amazon DynamoDBOne table: connections, profiles, validations, grants, jobs and audit.Yes
AWS Lambdaapi: the tools and read tiles; reaches data only through a connection. admin: profiles, connections, validation and grants; tiles only, never a model. identity: receives a person's token from the platform when the handoff is on; it can seal one and cannot open one.Yes
Amazon S3Result artifacts in StrataBI's temporary area, under each owner's own prefix.Yes
Amazon Athena, AWS GlueThe workgroups and databases your connections name. Created by you, not by the install.No
AWS KMSYour keys for platform assertions and the sealed token store. Identity handoff only; created by you.No
AWS IAMOne scoped role per function.Yes
Amazon CloudWatch LogsRuntime logs: one line per call and per result, never SQL, values or rows.Yes

It also uses pieces of your existing StrataBI install: the system S3 bucket, the module registry and the user-roles table (read only).

What is built, and what is not

State
Connection registry and validation (an enforced workgroup with a scan cutoff)Runs in an AWS account.
Athena under the module's role (service_role)Runs in an AWS account: results matched the same SQL run directly in Athena.
Grants by connection and operation, to peopleRuns in an AWS account. Grants to roles: tested locally.
The read-only SQL guard: one parsed statement, declared tables onlyRuns in an AWS account. Bound parameters and run-time limits: tested locally.
Jobs and results that belong to the person who ran themRuns in an AWS account.
Callers identified by a signed platform assertion; forged identity refusedRuns in an AWS account, with StrataBI's identity handoff on.
The app: Query, Connections, Access & AuditRuns in an AWS account. Downloads, Stop on a long query and the Connections forms: tested locally.
What a model may read, set per connectionBuilt, tested locally.
The lake_* tools, drafts (lake_draft_query) and result links for GuildmasterIn the release candidate. Not yet run with a model in the account.
The Redshift Connector, wrapped (named queries only)Built. Tested against a stand-in for the connector.
Per-person enforcement by AWS (aws_tip)Not available: scaffolded, unverified, switched off.
Per-person enforcement by an external providerA contract only.
Tables shared across accounts with Lake FormationReached like a local table. Untested.
Other sources, such as Snowflake or PostgreSQLNot part of StrataLake.
Joins across sourcesRefused: one connection per query.

StrataIndex · Redshift Connector · StrataForge · Guildmaster · Authentication & SSO · Roles & access control · Modules