Skip to content

Point a lake at s3:// and retire the lake service user #932

Not planned

Description

@athvin

Unblocked by #792 (the engine-side object-store credential path). The iam-and-exceptions.md retirement checklist item 1.

The lake-scoped IAM user with keys in Secrets Manager (consumed by the dev env bring-up script) existed because the Rust engine had no object-store credential path, so there was nothing for Pod Identity to feed. That blocker is gone: an attach whose DATA_PATH is s3:// now emits a session-scoped CREATE OR REPLACE SECRET, and no explicit key selects PROVIDER CREDENTIAL_CHAIN — which the er-dev-runner-pod Pod Identity role already carries the lake-bucket grants for.

What remains (all operational)

  • Point the dev lake at s3:// (org/dataset env ER_LAKE_DATA_PATH), with no ER_LAKE_S3_* set on the pod — proving the chain end to end in-cluster.
  • Give the web-api pod identity lake-bucket READ as well: the read API attaches s3-backed lakes request-synchronously (read::open_org_lake), so the api pod's role needs the grant or every lake read 503s (or stalls ~1–2 s per request on an IMDS timeout in a misconfigured deployment). The runner pod's role is not enough on its own.
  • Drop the key wiring from the dev env bring-up script.
  • Delete the lake service user and its Secrets Manager entry; remove the surviving aws_iam_access_key name from tf-static-credentials-check.sh's ALLOWED if it is that user (check: builder may be the only survivor by then).

Notes

  • ER_LAKE_S3_* stays host-level process env for MinIO-class stores and CI; the credential filter refuses those keys in org rows, so do not try to per-org them.
  • Proving recipe for the engine half: rust/crates/er-cli/tests/s3_lake.rs header.

Activity

  1. added
    pruned
    on Nov 27, 2026
  2. athvin commented on Nov 27, 2026

    @athvin
    OwnerAuthor

    Closed in the second 2026-11-26 board prune. The board now targets only the API that customers use to build their own deduplication tooling. Everything else is bonus, and this card is one of those. It's labelled pruned and can be reopened later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    pruned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions