Skip to content

feat: Add optional STS session-tags in S3 STS requests for ABAC authorization - #1230

Merged
c-thiel merged 11 commits into
lakekeeper:mainfrom
dolan-a:dol/aws-session-tags
Sep 9, 2025
Merged

c-thiel merged 11 commits into
lakekeeper:mainfrom
dolan-a:dol/aws-session-tags

Conversation

@dolan-a

@dolan-a dolan-a commented Jul 9, 2025 •

Copy link
Copy Markdown
Contributor

This addresses #1228 by adding an optional sts-session-tags property to S3Profile to allow tags to be passed along when assuming an AWS Role.

TODO:

  • tests
  • doc updating

Summary by CodeRabbit

  • New Features

    • Added support for optional STS session tags in S3 storage configuration (sts-session-tags) to be applied during role assumption, enabling ABAC-style access controls.
  • Documentation

    • Updated storage docs with STS session tags guidance, required trust policy (sts:TagSession), and ABAC examples.
    • OpenAPI schema now includes the sts-session-tags field for S3 profiles, with descriptions and examples.

@cla-assistant

cla-assistant Bot commented Jul 9, 2025 •

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

✅ c-thiel
❌ dolan-a
You have signed the CLA already but the status is still pending? Let us recheck it.

@cla-assistant

cla-assistant Bot commented Jul 9, 2025

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@c-thiel c-thiel left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR!

Would you add some docs as well?

We also need to update the openapi spec and then the UI.
For the openapi spec run just update-management-openapi should generate the new file.

@dolan-a
dolan-a force-pushed the dol/aws-session-tags branch from be6d446 to 87563c1 Compare July 16, 2025 18:54
@c-thiel

c-thiel commented Jul 18, 2025

Copy link
Copy Markdown
Member

@dolan-a I fixed the format and expect. I think the code is good now.
If you add the docs we are good to merge.

I won't include this in todays release as it requires a small change in the UI as well.

Comment thread docs/docs/storage.md
]
}
]
"Version": "2012-10-17",

@dolan-a dolan-a Jul 18, 2025 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file had a mix of tabs and 4-space indentation on the JSON examples, so I adopted 4-space indentation throughout the file.

assume_role_builder
};

let assume_role_builder = if self.sts_session_tags.is_empty() {

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had to swap the ordering on this, but I verified the session tags are working with the latest code

@dolan-a
dolan-a requested a review from c-thiel July 18, 2025 15:15
@c-thiel

c-thiel commented Aug 7, 2025

Copy link
Copy Markdown
Member

Hey @dolan-a, we are currently overhauling our FileIO and I want to add this change directly to the new FileIO.
In this PR we use the session tags for STS only, so for assumed roles that we hand back to clients as part of vended-credentials. Its not used for Lakekeepers FileIO itself.

Do you think this is desired or should the be used for all interactions with S3 in a Warehouse, also interactions of Lakekeeper itself?

@dolan-a

dolan-a commented Aug 7, 2025

Copy link
Copy Markdown
Contributor Author

(reposting reply w non-work account)

It seems that the AWS session tagging is specific to STS role assuming, so unless lakekeeper is making assume-role calls elsewhere, I don't think tags will be needed elsewhere.

Here's AWS's description of this tagging:

Session tags are key-value pair attributes that you pass when you assume an IAM role or federate a user in AWS STS. You do this by making an AWS CLI or AWS API request through AWS STS or through your identity provider (IdP). When you use AWS STS to request temporary security credentials, you generate a session. Sessions expire and have credentials, such as an access key pair and a session token. When you use the session credentials to make a subsequent request, the request context includes the aws:PrincipalTag context key. You can use the aws:PrincipalTag key in the Condition element of your policies to allow or deny access based on those tags.

@dolan-a

dolan-a commented Aug 7, 2025

Copy link
Copy Markdown
Contributor Author

There were a few failed tests, but they were due to an issue with snap installing just. Clippy was one of the failed tests, so I confirmed it passes locally at least (after merging in the latest from main).

Let me know if there's anything else needed on this PR

@c-thiel

c-thiel commented Aug 13, 2025

Copy link
Copy Markdown
Member

All good, thanks @dolan-a
I will include this in 0.10 together with a completly new FileIO. I will probly copy some of your changes over to a new PR, as this is easier than rebasing. Will let you know when its ready so you can test it!

@c-thiel c-thiel added this to the Release 0.10.0 milestone Aug 13, 2025
@dolan-a

dolan-a commented Aug 13, 2025

Copy link
Copy Markdown
Contributor Author

Sounds good. I was also planning a related PR to allow optional changing of the STS Session Name (role_session_name in s3.rs). If you feel like adding, please do, otherwise I can submit a new PR later off the v0.10 release

@coderabbitai

coderabbitai Bot commented Sep 3, 2025 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto incremental reviews are disabled on this repository.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Walkthrough

Adds optional STS session tags to S3Profile and propagates them into STS AssumeRole requests. Updates OpenAPI to expose the new field, adjusts docs with configuration and IAM/ABAC guidance, and updates tests to initialize the new field and imports.

Changes

Cohort / File(s) Summary
S3 STS session tags support
crates/lakekeeper/src/service/storage/s3.rs
Adds public field sts_session_tags: HashMap<String, String> to S3Profile (serde/builder defaults). When assuming role, converts non-empty map to Vec<Tag> and attaches to STS call; errors bubble as CredentialsError::ShortTermCredential. Imports updated to include Tag and suppress unused alias for ProvideCredentials.
Integration tests updates
crates/lakekeeper/.../minio_integration_tests/*, .../aws_integration_tests/*, .../aws_kms_integration_tests/*, .../r2_integration_tests/*, .../is_overlapping_location_tests/*
Test S3Profile constructions initialize sts_session_tags (often empty). Imports updated for HashMap and tag-related types where needed.
OpenAPI schema
docs/docs/api/management-open-api.yaml
Adds optional sts-session-tags object property to components/schemas/S3Profile with additionalProperties: string and propertyNames: string.
Documentation
docs/docs/storage.md
Documents sts-session-tags config, STS TagSession requirements, trust policy snippet, ABAC guidance/examples, and formatted JSON policy blocks.

Sequence Diagram(s)

sequenceDiagram
  autonumber
  participant Client
  participant Lakekeeper
  participant AWS STS as STS
  participant AWS S3 as S3

  Client->>Lakekeeper: Request S3 access using S3Profile
  Lakekeeper->>Lakekeeper: Build AssumeRole params (role ARN, duration)
  alt sts_session_tags provided
    Note right of Lakekeeper: Attach session tags to AssumeRole
  else no tags
    Note right of Lakekeeper: AssumeRole without tags
  end
  Lakekeeper->>STS: AssumeRole(request [+ optional SessionTags])
  STS-->>Lakekeeper: Temporary credentials (or error)
  alt credentials received
    Lakekeeper->>S3: Perform S3 operation with temp creds
    S3-->>Lakekeeper: Result
    Lakekeeper-->>Client: Response
  else error
    Lakekeeper-->>Client: Credentials error
  end
Loading

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Poem

I tagged my session, thump-thump with glee,
Tiny keys and values, hopping to S3.
Roles now wear ribbons, neat ABAC bows—
Paths open smartly where the carrot grows.
Docs and specs aligned, tests snug and tight—
Hippity-hop, ship it tonight! 🥕🐇

✨ Finishing Touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@c-thiel c-thiel changed the title Adding optional STS session-tags for ABAC authorization feat: Add optional STS session-tags in S3 STS requests for ABAC authorization Sep 3, 2025
c-thiel
c-thiel previously approved these changes Sep 3, 2025

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🧹 Nitpick comments (3)
docs/docs/api/management-open-api.yaml (1)

4124-4130: OpenAPI: Schema for sts-session-tags is fine; consider adding basic constraints and drop redundant propertyNames

propertyNames: { type: string } is redundant in JSON Schema 2020-12+ (names are strings). Adding lightweight constraints helps catch obvious misconfigs early (lengths and reserved prefix).

Apply:

         sts-session-tags:
-          type: object
-          description: Optional session tags for STS assume role operations.
-          additionalProperties:
-            type: string
-          propertyNames:
-            type: string
+          type: object
+          description: Optional session tags for STS assume role operations.
+          additionalProperties:
+            type: string
+            maxLength: 256
+          propertyNames:
+            type: string
+            pattern: '^[A-Za-z0-9_.:/=+\\-@]{1,128}$'
+          not:
+            properties:
+              aws:
+                description: Keys starting with 'aws:' are reserved
+            required: []

If you prefer to keep it minimal, at least add maxLength: 256 for values. Happy to adjust patterns to exactly mirror AWS constraints if desired.

docs/docs/storage.md (1)

54-59: Docs table row LGTM

Clear, concise description and example for sts-session-tags. Consider adding a short note about key/value length limits if you don’t add them to the OpenAPI schema.

crates/lakekeeper/src/service/storage/s3.rs (1)

681-697: Session tag construction: prefer infallible constructor or validate early; optionally gate to AWS flavor

  • If available in your aws-sdk version, prefer Tag { key, value } to avoid fallible builder overhead. Otherwise OK to keep builder.
  • Consider validating keys/values up front (length, reserved aws: prefix) during profile normalization to fail fast with a user-facing error instead of at STS time.
  • Optional: for S3-compatible STS endpoints that may not support session tags, consider gating tags to S3Flavor::Aws or retrying without tags on a known “UnknownParameter/NotImplemented” error to increase compatibility.

Proposed minimal validation:

 impl S3Profile {
+    fn validate_sts_session_tags(&self) -> Result<(), ValidationError> {
+        for (k, v) in &self.sts_session_tags {
+            if k.starts_with("aws:") {
+                return Err(InvalidProfileError {
+                    source: None,
+                    reason: "STS session tag keys must not start with 'aws:'".to_string(),
+                    entity: "sts-session-tags".to_string(),
+                }.into());
+            }
+            if k.len() == 0 || k.len() > 128 || v.len() > 256 {
+                return Err(InvalidProfileError {
+                    source: None,
+                    reason: "STS session tag key/value length out of bounds (key: 1-128, value: 0-256)".to_string(),
+                    entity: "sts-session-tags".to_string(),
+                }.into());
+            }
+        }
+        Ok(())
+    }

And call it from normalize():

         self.normalize_sts_role_arn();
+        self.validate_sts_session_tags()?;
📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

💡 Knowledge Base configuration:

  • MCP integration is disabled by default for public repositories
  • Jira integration is disabled by default for public repositories
  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between 7c4dbbe and ffa5515.

📒 Files selected for processing (3)
  • crates/lakekeeper/src/service/storage/s3.rs (11 hunks)
  • docs/docs/api/management-open-api.yaml (1 hunks)
  • docs/docs/storage.md (5 hunks)
🧰 Additional context used
🪛 LanguageTool
docs/docs/storage.md

[grammar] ~260-~260: There might be a mistake here.
Context: ...accessed table). ##### STS Session Tags The optional sts-session-tags setting ...

(QB_NEW_EN)

⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (8)
  • GitHub Check: docker / docker
  • GitHub Check: docker / docker
  • GitHub Check: docker / docker
  • GitHub Check: docker / docker
  • GitHub Check: test
  • GitHub Check: clippy
  • GitHub Check: check-generated-openapi-matches
  • GitHub Check: sqlx-check
🔇 Additional comments (3)
docs/docs/storage.md (1)

258-259: Good clarification on role usage

The distinction between assume-role-arn (Lakekeeper IO) and sts-role-arn (vended credentials) is helpful.

crates/lakekeeper/src/service/storage/s3.rs (2)

96-99: Field addition LGTM

sts_session_tags on S3Profile with serde/builder defaults is the right shape and keeps API simple (no Option).


1247-1254: Tests updated correctly

Including sts_session_tags: HashMap::new() keeps existing tests deterministic.

Also applies to: 1292-1299, 1347-1356, 1407-1415, 1502-1510, 1567-1573, 1651-1657

Comment thread docs/docs/storage.md Resolved
Comment thread docs/docs/storage.md Resolved
coderabbitai[bot]
coderabbitai Bot previously approved these changes Sep 8, 2025
@dolan-a
dolan-a dismissed stale reviews from coderabbitai[bot] and c-thiel via d0bd2ab September 8, 2025 16:15

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

♻️ Duplicate comments (2)
crates/lakekeeper/src/service/storage/s3.rs (1)

681-697: Use the infallible Tag constructor; drop fallible builder and error plumbing.

The SDK exposes an infallible Tag { key, value } ctor. This avoids build() errors and simplifies code.

-        let assume_role_builder = if self.sts_session_tags.is_empty() {
-            assume_role_builder
-        } else {
-            let tags: Vec<Tag> = self
-                .sts_session_tags
-                .iter()
-                .map(|(key, value)| {
-                    Tag::builder().key(key).value(value).build().map_err(|e| {
-                        CredentialsError::ShortTermCredential {
-                            reason: format!("Failed to build STS tag: {e}"),
-                            source: Some(Box::new(e)),
-                        }
-                    })
-                })
-                .collect::<Result<_, _>>()?;
-            assume_role_builder.set_tags(Some(tags))
-        };
+        let assume_role_builder = if self.sts_session_tags.is_empty() {
+            assume_role_builder
+        } else {
+            let tags: Vec<Tag> = self
+                .sts_session_tags
+                .iter()
+                .map(|(key, value)| Tag { key: key.clone(), value: value.clone() })
+                .collect();
+            assume_role_builder.set_tags(Some(tags))
+        };
docs/docs/storage.md (1)

316-318: Invalid JSON: trailing comma in s3:prefix array.

This breaks copy/paste and policy validation.

-                    "s3:prefix": [
-                        "${aws:PrincipalTag/tenant}/*",
-                    ]
+                    "s3:prefix": [
+                        "${aws:PrincipalTag/tenant}/*"
+                    ]
🧹 Nitpick comments (3)
docs/docs/api/management-open-api.yaml (1)

4121-4127: Constrain session-tag keys/values to AWS limits (avoid bad requests).

Add JSON Schema constraints so invalid keys/values (e.g., too long or starting with aws:) are rejected at the API boundary instead of failing at STS time.

         sts-session-tags:
           type: object
           description: Optional session tags for STS assume role operations.
-          additionalProperties:
-            type: string
-          propertyNames:
-            type: string
+          additionalProperties:
+            type: string
+            maxLength: 256
+          propertyNames:
+            type: string
+            maxLength: 128
+            pattern: '^(?!aws:)[A-Za-z0-9+=,.@:/_-]{1,128}$'
crates/lakekeeper/src/service/storage/s3.rs (1)

655-659: Clamp STS duration to AWS’ allowed range (900–43200s).

Prevent avoidable STS errors when users set out-of-range values.

-        let assume_role_builder = aws_sdk_sts::Client::new(&sdk_config)
-            .assume_role()
-            .role_session_name("lakekeeper-sts")
-            .duration_seconds(i32::try_from(self.sts_token_validity_seconds).unwrap_or(3600));
+        let duration = self.sts_token_validity_seconds.clamp(900, 43_200);
+        let duration = i32::try_from(duration).unwrap_or(3600);
+        let assume_role_builder = aws_sdk_sts::Client::new(&sdk_config)
+            .assume_role()
+            .role_session_name("lakekeeper-sts")
+            .duration_seconds(duration);
docs/docs/storage.md (1)

260-290: Nice touch adding TagSession trust; consider noting tag key restrictions.

Optional: add a short note that keys can’t start with “aws:” and length limits apply, matching the OpenAPI constraints.

📜 Review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between a10b78b and df6480d.

📒 Files selected for processing (3)
  • crates/lakekeeper/src/service/storage/s3.rs (11 hunks)
  • docs/docs/api/management-open-api.yaml (1 hunks)
  • docs/docs/storage.md (5 hunks)
🔇 Additional comments (2)
crates/lakekeeper/src/service/storage/s3.rs (1)

96-100: Field addition LGTM.

serde(default) + builder(default) on HashMap cleanly models “optional but defaults to {}” and matches the OpenAPI kebab-case name.

docs/docs/storage.md (1)

54-54: New parameter docs LGTM.

Clear description and example for sts-session-tags.

Comment thread docs/docs/storage.md Resolved
@dolan-a
dolan-a requested a review from c-thiel September 8, 2025 17:09
c-thiel
c-thiel previously approved these changes Sep 8, 2025
@c-thiel
c-thiel enabled auto-merge (squash) September 8, 2025 21:35
@c-thiel

c-thiel commented Sep 8, 2025

Copy link
Copy Markdown
Member

Thanks @dolan-a, this LGTM!

auto-merge was automatically disabled September 8, 2025 21:39

Head branch was pushed to by a user without write access

@github-actions

github-actions Bot commented Sep 8, 2025

Copy link
Copy Markdown
Contributor

✅ PR Title Formatted Correctly

The title of this PR match the correct format. Thank you!

@dolan-a
dolan-a requested a review from c-thiel September 8, 2025 21:40
@dolan-a

dolan-a commented Sep 8, 2025

Copy link
Copy Markdown
Contributor Author

@c-thiel - the openapi schema diff didn't like my manually added string length limits on the tags, so I removed. Re-review please :)

@c-thiel
c-thiel enabled auto-merge (squash) September 8, 2025 22:02
@c-thiel
c-thiel disabled auto-merge September 9, 2025 07:01
@c-thiel
c-thiel merged commit c84390d into lakekeeper:main Sep 9, 2025
@c-thiel c-thiel mentioned this pull request Sep 7, 2025
mrjoe7 added a commit to mrjoe7/lakekeeper that referenced this pull request Oct 30, 2025
* feat: Publish images to Dockerhub (lakekeeper#1274)

* feat: Update UI to 0.9.0 with multi-project support (lakekeeper#1275)

* chore: release 0.9.4

Release-As: 0.9.4

* chore: release main (lakekeeper#1262)

* chore(ci): Fix Dockerhub login

* chore(docs): Improve developer guide (lakekeeper#1265)

* chore(docs): add info regarding `view_version`'s internal representation (lakekeeper#1261)

* chore(docs): Architecture clarify Secret Store (lakekeeper#1284)

* fix: Update Limes to 0.2.2 - Fixes compilation issue due to breaking `jwks_client_rs` change (lakekeeper#1282)

* fix: Update Limes to 0.2.2

* increase min rust version

* chore: release 0.9.5

Release-As: 0.9.5

* chore: release main (lakekeeper#1286)

* chore: enable changelog sections for release-please (lakekeeper#1264)

k

* fix(deps): update rust crate rand to v0.9.2 (lakekeeper#1252)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update rust crate async-channel to v2.5.0 (lakekeeper#1225)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency mkdocs-material to v9.6.17 (lakekeeper#1289)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update rust crate anyhow to v1.0.99 (lakekeeper#1290)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore: Remove bitnami images (lakekeeper#1288)

* feat!: Move to Lakekeeper IO based on hyperscaler SDKs (lakekeeper#1285)

* chore(deps): update rust crate reqwest to v0.12.23 (lakekeeper#1294)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(docs): Improve Cloud storage test docs

* fix: accept "disable" as PG sslmode as documented (lakekeeper#1303)

* feat: Simplify task interface, re-exports, enable delete-after-commit (lakekeeper#1302)

* feat: Introduce `RequestMetadata` for Internal Principals which bypass AuthZ (lakekeeper#1306)

* chore(deps): update azure/setup-helm action to v4.3.1 (lakekeeper#1299)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(test): use nextest filterset instead of needs_env_var (lakekeeper#1304)

* chore(deps): update rust crate openssl-src to v300.5.2 (lakekeeper#1292)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update rust crate async-compression to v0.4.28 (lakekeeper#1311)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update rust crate thiserror to v2.0.16 (lakekeeper#1296)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* feat: Provide `ApiContext` to externally registered tasks (lakekeeper#1307)

* feat!: Simplify Task interface, extend SpecializedTask interface (lakekeeper#1310)

* feat: Improve authorizer `are_allowed_*` batch check signature (lakekeeper#1315)

* chore(authz): Enforce use of AuthZ decisions with #[must_use] (lakekeeper#1317)

* feat: Task Management APIs (lakekeeper#1316)

* chore(deps): update rust crate tracing-subscriber to v0.3.20 [security] (lakekeeper#1318)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* feat: Add `RunNow` and `RunAt` to Controls for Tasks (lakekeeper#1322)

* chore(deps): update rust crate tokio-util to v0.7.16 (lakekeeper#1313)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(docs): Improve Entra ID docs (lakekeeper#1325)

* chore(docs): Improve Upgrades & Migration docs (lakekeeper#1326)

* feat: Add tasks heartbeat with Catalog state (lakekeeper#1324)

* ci: add configuration for CodeRabbit reviews (lakekeeper#1327)

* feat: Add optional STS session-tags in S3 STS requests for ABAC authorization (lakekeeper#1230)

* feat: Random Server IDs (lakekeeper#1328)

* chore(deps): update rust crate percent-encoding to v2.3.2 (lakekeeper#1312)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* feat(authz): Deprecate Permission Endpoints for Tables without WarehouseIDs (lakekeeper#1334)

* fix: Tasks endpoints in router (lakekeeper#1335)

* feat(ci): add nextest profile ci_no_secrets for external PRs (lakekeeper#1333)

* chore(deps): update rust crate chrono to v0.4.42 (lakekeeper#1331)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore: Pin examples duckdb version to 1.3 (lakekeeper#1343)

* feat!: Require warehouse_id when checking permissions on views or tables via ID (lakekeeper#1340)

* fix: migrate away from bitnami in unittest.yml (lakekeeper#1344)

* chore: Remove coderabitt config

* fix(docs): Fix inconsistent URL format in README (lakekeeper#1345)

Co-authored-by: Christian <[email protected]>

* feat: Remove serde_yaml & serde_yml (lakekeeper#1341)

* feat!: add `warehouse_id` to PKs of all `table_*` and `view_*` tables (lakekeeper#1254)

* feat: Minor namespace join performance improvements

* fix: Warehouse permissions are directly used for task retrieval & control (lakekeeper#1347)

* fix: Potential Race Condition when undropping Tabulars (lakekeeper#1342)

* fix: table rename authz and error handling (lakekeeper#1346)

Co-authored-by: Andre Luis Anastacio <[email protected]>

* chore(deps): update rust crate google-cloud-auth to v1.1.2 (lakekeeper#1337)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Christian <[email protected]>

* chore(deps): update rust crate time to v0.3.44 (lakekeeper#1349)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency mkdocs-material to v9.6.20 (lakekeeper#1309)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Christian <[email protected]>

* feat: Set ServerID during migration (lakekeeper#1348)

* chore(deps): Remove utoipa fork (lakekeeper#1352)

* chore(deps): update rust crate serde_with to v3.14.1 (lakekeeper#1351)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update rust crate url to v2.5.7 (lakekeeper#1354)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update rust crate async-compression to v0.4.30 (lakekeeper#1323)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Christian <[email protected]>

* chore(deps): update rust crate serde_json to v1.0.145 (lakekeeper#1250)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Christian <[email protected]>

* chore(deps): update strum monorepo to v0.27.2 (lakekeeper#1251)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Christian <[email protected]>

* chore(deps): update serde monorepo to v1.0.226 (lakekeeper#1355)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update rust crate clap to v4.5.48 (lakekeeper#1356)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* feat: Add Entity Names to Tasks (lakekeeper#1353)

* fix: case insensitivity of catalog endpoints (lakekeeper#1338)

* fix: Improve delete_warehouse error message for active tasks

* chore(deps): update rust crate tempfile to v3.22.0 (lakekeeper#1359)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Christian <[email protected]>

* chore(deps): update rust crate axum-prometheus to 0.9.0 (lakekeeper#1358)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix: PgSslMode not supported error string

* feat(authz)!: add OpenFGA schema v4 and v3->v4 migration (lakekeeper#1314)

Co-authored-by: Christian <[email protected]>
Co-authored-by: Christian Thiel <[email protected]>

* chore(deps): update rust crate uuid to v1.18.1 (lakekeeper#1362)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency markdown-grid-tables to v0.6.0 (lakekeeper#1357)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update rust crate anyhow to v1.0.100 (lakekeeper#1350)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix: clippy

* chore(deps): update rust crate moka to v0.12.11 (lakekeeper#1365)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update rust crate tempfile to v3.23.0 (lakekeeper#1367)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update rust crate async-nats to 0.43.0 (lakekeeper#1366)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update actions/setup-node action to v5 (lakekeeper#1371)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update actions/checkout action to v5 (lakekeeper#1369)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update actions/setup-python action to v6 (lakekeeper#1372)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* feat: V3 support (lakekeeper#1364)

* chore: Set Get Task Permission to "CanGetMetadata" (lakekeeper#1376)

* chore(deps): update dependency node to v22 (lakekeeper#1373)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* feat(authz)!: extend OpenFGA tabular entities with WarehouseId (lakekeeper#1329)


---------

Co-authored-by: Christian <[email protected]>
Co-authored-by: Christian Thiel <[email protected]>

* feat: Add support for tasks affecting views (lakekeeper#1378)

* feat(authz): Add specific Task Actions (lakekeeper#1379)

* chore(tests): Test with Iceberg 1.9.2 & 1.10.0 (lakekeeper#1267)

* feat: Enrich task metadata with concrete tabular type (lakekeeper#1383)

* feat: Add loadTable Snapshots filter (lakekeeper#1385)

* feat: add endpoint for fuzzy search of tabulars (lakekeeper#1387)

* feat: Update UI to 0.10.0 (lakekeeper#1390)

* feat(ui): Update UI to 0.10.1

* chore: Use lakekeeper re-exports in bin (lakekeeper#1391)

* fix(tabular-search): distance and docs for `searchterm is uuid` (lakekeeper#1393)

* chore(examples): Idempotent bucket creation in minimal example (lakekeeper#1386)

In the case where you already have a bucket created, like the "examples" bucket, I ran into an issue where the createbuckets service fails, and this prevents lakekeeper from starting back up.

This fix adds a simple minio flag to ignore buckets that already exist, making things even more user friendly

* feat: Make number of workers spawned for Expiration & Purge configurable (lakekeeper#1395)

* chore: release main (lakekeeper#1295)

* chore: added gif to readme (lakekeeper#1396)

* chore: remove unneded `#[allow(dead_code)]` (lakekeeper#1399)

* fix: Use FnOnce for queue & service registration

* Revert "fix: Use FnOnce for queue & service registration"

This reverts commit 47b03a0.

* chore(docs): Add 0.10 docs

* perf(db): remove `join namespace` from `active_tabulars` view (lakekeeper#1401)

* doc(db): how to connect to db and inspect schema (lakekeeper#1402)

* feat: implement `OpenFgaEntity` for `ServerId` (lakekeeper#1394)

* impl OpenFgaEntity
* Use the implementation

* fix: Use FnOnce for queue & service registration (lakekeeper#1404)

* chore(deps): update dependency mkdocs-material to v9.6.21 (lakekeeper#1406)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* feat: Expose client-managed X-Iceberg-Access-Delegation (lakekeeper#1407)

* fix: Use higher consistency for some OpenFGA queries (lakekeeper#1408)

* feat: Improve Kubernetes Auth docs (lakekeeper#1415)

* chore: release 0.10.1

Release-As: 0.10.1

* fix: Endpoint stats for Project Endpoints (lakekeeper#1412)

* feat: Add create table guard to cleanup location on Failure (lakekeeper#1418)

* chore: Generate ID types with Macro (lakekeeper#1419)

* chore: Re-Export Tokio from lakekeeper-io create (lakekeeper#1420)

* fix: Add support for `write.metadata.metrics.` Table Properties (lakekeeper#1422)

* fix: Update UI to 0.10.2 (lakekeeper#1423)

* chore: release main (lakekeeper#1403)

* fix: Parse empty ProjectID headers as None (lakekeeper#1424)

* chore: release 0.10.2

Release-As: 0.10.2

* chore: release main (lakekeeper#1425)

* feat: Add `debug_migrate_before_serve` env var (lakekeeper#1426)

* feat: Move OpenFGA Authorizer to separate crate (lakekeeper#1421)

* chore(renovate): Group dependencies

* chore(renovate): ignore additional deps

* chore: Rename src/service -> src/server, trait Catalog -> CatalogStore (lakekeeper#1428)

* feat(examples): add k8s iceberg sink connector (avro) (lakekeeper#1336)


---------

Co-authored-by: Christian <[email protected]>

* chore(ci): Fix release please (lakekeeper#1433)

* feat: Expose License Information via API (lakekeeper#1432)

* fix(deps): update all non-major dependencies (lakekeeper#1429)

* chore(ci): Remove mgmt API version update via release-please

* chore: Restructure catalog_store into multiple modules (lakekeeper#1434)

* feat: Validate Downscoping works on Warehouse creation (lakekeeper#1437)

* chore(ci): Fix release please

* docs: Add info about installing sqlx to developer-guide.md (lakekeeper#1438)

* docs: Update developer-guide.md (lakekeeper#1439)

* chore(deps): update all non-major dependencies (lakekeeper#1436)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix: Better normalization for ARNs in S3 Profile (lakekeeper#1441)

* chore(deps): update all non-major dependencies (lakekeeper#1442)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(main): release 0.10.3 (lakekeeper#1427)

* fix: Release Please CI outputs

* fix(ci): Revert 0.10.3 release

* chore(main): release 0.10.3 (lakekeeper#1446)

* feat: Introduce CatalogWarehouseOps & CatalogNamespaceOps abstractions (lakekeeper#1440)

* feat: Allow x-user-agent header (lakekeeper#1453)

* feat: Table & View Ops Abstractions, Improved Error Handling (lakekeeper#1454)

* fix: CORS allow access delegation & etag headers (lakekeeper#1455)

* fix: Headers should be lowercase (lakekeeper#1457)

* chore(tests): Add trino information_schema.tables test (lakekeeper#1456)

* chore: Introduce open-api feature to gate utoipa and swagger (lakekeeper#1458)

* chore: Release As 0.11

* fix: Debug assertion table identifier mismatch for signer (lakekeeper#1460)

* feat: Caching Short-Term-Credentials (STC) (lakekeeper#1459)

* feat: Warehouse Cache (lakekeeper#1462)

* chore(deps): update actions/setup-node action to v6 (lakekeeper#1443)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* feat: Version based Warehouse Cache (lakekeeper#1465)

* feat: AuthZ Server and Project Ops (lakekeeper#1471)

* chore(deps): update github artifact actions (lakekeeper#1461)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore: Rename release branch pattern to rel-*

* feat: Catalog returns full Namespace Hierarchy for nested Namespaces (lakekeeper#1472)

---------

Co-authored-by: Christian <[email protected]>
Co-authored-by: Christian Thiel <[email protected]>
Co-authored-by: Dao Thanh Tung <[email protected]>
Co-authored-by: Moritz Zielke <[email protected]>
Co-authored-by: Baptiste Gouhoury <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Dolan Antenucci <[email protected]>
Co-authored-by: Anatoly Popov <[email protected]>
Co-authored-by: Andre Luis Anastacio <[email protected]>
Co-authored-by: Scott Haines <[email protected]>
Co-authored-by: Viktor Kessler <[email protected]>
Co-authored-by: Yohan Valencia <[email protected]>
Co-authored-by: Paul Roman <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants