Repository navigation
feat(studio): authenticate TOS output mounts with IAM roles - #1163
Open
PolarisCzh wants to merge 1 commit into
Open
PolarisCzh wants to merge 1 commit into
PolarisCzh wants to merge 1 commit into
Conversation
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
agentkit-platform-buckets. Filter before search/count/pagination and validate again before cloud calls; safely reject old credential payloads and remove stale draft credentials.HeadBucket/ListBucketand objectGetObject/PutObject/DeleteObject/AbortMultipartUploadpermissions scoped to that bucket'ssandbox-session/*. Preserve existing bindings and reject conflicting policy documents.TOS_CREDENTIAL_TYPE_IAM_ROLEwithout Credentials; retain read/write/data/outputand existing per-session mount paths. Keep standalone CLI/YAML access-key mode and unfiltered general resource queries compatible.Upstream scope
This branch is based directly on official
mainat812faadf, not on the fork's divergent history. It transfers only the TOS Role feature and its evidence, preserving official model-key discovery and provider behavior. Generated assets were rebuilt from official-base sources. Two TOS ordering cases now isolate the new upstream model-key dependency while retaining their grant-order/error assertions.The existing fork PR superops-team/veadk-python#24 remains unchanged. This PR has one feature commit and does not import unrelated fork commits.
Verification on the official-base port
llama_index, ten Codex cases need optionalopenai_codex, and two self-host collection errors need optionalanthropic. These checks are not reported as green.mpa_tool.py, also reproduced in the original official-main file; other changed production Python files have no diagnostics.Existing live feature evidence and its boundary
The original fork implementation was deployed to an existing Studio as V42 with unchanged environment/branding. A test MPA was created from the remote Studio using bucket-only IAM Role configuration. Runtime/Worker readiness, the exact Tool credential mode, IAM policy readback, actual
/data/outputwrites, independent TOS reads, browser download hash equality and two-session same-name-file isolation were verified.That evidence belongs to the original fork implementation. This official-base port has not been redeployed or browser/cloud E2E-tested, and no Runtime/Worker image was rebuilt in this PR task. It does not change login, JWT/KeyAuth, Worker protocol, existing Sessions or cloud resources.
Security/compatibility notes
Design and evidence: English PRD | 中文 PRD