Repository navigation
feat: AWS / S3 Managed Identities - #965
Conversation
There was a problem hiding this comment.
Pull Request Overview
This pull request introduces AWS/S3 managed identities support for Lakekeeper, enabling the system to load S3 credentials from the environment and leverage external IDs. Key changes include updates to documentation and configuration for system identities, modifications to asynchronous calls in file I/O functions, and dependency/workflow improvements to support AWS system identity testing.
Reviewed Changes
Copilot reviewed 26 out of 26 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| tests/README.md | Added docker-compose command to run tests using S3 system identity overlays. |
| docs/docs/storage.md | Expanded documentation to cover direct file-access and managed identities with AWS, including external ID details. |
| docs/docs/configuration.md | Updated configuration documentation to include new S3 storage credential settings. |
| crates/iceberg-catalog/src/* | Converted file I/O functions to async-await and updated error handling and credentials mapping across multiple modules. |
| Cargo.toml and GitHub workflows | Updated dependency versions and added AWS system identity test cases. |
There was a problem hiding this comment.
Pull Request Overview
This PR introduces AWS/S3 managed identities by adding new configuration options that enable the use of system identities for S3 storage across both runtime and tests. Key changes include:
- Adding new storage configuration variables and documentation updates.
- Refactoring asynchronous file I/O calls to accommodate async functions.
- Updating credential structures and error handling related to AWS/S3 credentials.
Reviewed Changes
Copilot reviewed 27 out of 28 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| docs/docs/configuration.md | Adds a new "Storage" section for S3 system identity options and documentation. |
| crates/iceberg-catalog/src/tests/mod.rs | Updates tests to include the new external_id field in S3 credentials. |
| crates/iceberg-catalog/src/service/task_queue/tabular_purge_queue.rs | Adds an await call to the file_io function. |
| crates/iceberg-catalog/src/service/storage/mod.rs | Refactors file_io to be async and updates usage with await. |
| crates/iceberg-catalog/src/service/storage/error.rs | Adjusts error conversion for credentials-related errors. |
| crates/iceberg-catalog/src/service/storage/az.rs | Changes error message entity names for consistency. |
| crates/iceberg-catalog/src/implementations/postgres/secrets.rs | Updates tests with the new external_id field. |
| crates/iceberg-catalog/src/implementations/kv2.rs | Adds external_id to tests. |
| crates/iceberg-catalog/src/config.rs | Introduces new storage-related config options and tests for system identities. |
| crates/iceberg-catalog/src/catalog/views/create.rs | Updates file_io calls to use async/await. |
| crates/iceberg-catalog/src/catalog/views/commit.rs | Updates file_io calls to use async/await. |
| crates/iceberg-catalog/src/catalog/tables.rs | Updates file_io calls to use async/await. |
| crates/iceberg-catalog/src/catalog/s3_signer/sign.rs | Refactors signing to obtain credentials asynchronously. |
| crates/iceberg-catalog/src/catalog/mod.rs | Updates tests with the new external_id field. |
| crates/iceberg-catalog/src/catalog/io.rs | Enhances error messages in IO functions to include error details. |
| crates/iceberg-catalog/Cargo.toml | Adds a new AWS Smithy HTTP client dependency. |
| Cargo.toml | Updates versions for AWS SDK dependencies. |
| .github/workflows/integration_test_workflow.yml | Adds a new integration test overlay configuration for AWS system identity. |
| .github/workflows/integration_test_matrix.yml | Adds new test matrix entries for AWS system identity scenarios. |
Files not reviewed (1)
- docs/docs/api/management-open-api.yaml: Language not supported
No description provided.