Skip to content

Feature/s3 bucket auth#213

Merged
bsatoriu merged 7 commits intomainfrom
feature/s3-bucket-auth
Mar 5, 2026
Merged

Feature/s3 bucket auth#213
bsatoriu merged 7 commits intomainfrom
feature/s3-bucket-auth

Conversation

@bsatoriu
Copy link
Collaborator

@bsatoriu bsatoriu commented Mar 2, 2026

This PR adds organization-level S3 bucket access management, allowing admins to grant orgs access to custom S3 buckets/prefixes beyond the default user workspace.

When users request STS credentials via /api/members/self/awsAccess/workspaceBucket, the IAM policy now dynamically includes any custom S3 buckets their organizations have been granted, and the response returns an authorized_s3_paths array listing all accessible paths.

Endpoint response format change for awsAccess/workspaceBucket

The /api/members/self/awsAccess/workspaceBucket response replaces aws_bucket_name and aws_bucket_prefix with authorized_s3_paths (an array of s3:// URIs). Consumers that read aws_bucket_name/aws_bucket_prefix will need to be updated to use authorized_s3_paths[0] or iterate the full list.

Related admin console change: MAAP-Project/maap-wp-plugin@8c72f74

@bsatoriu bsatoriu requested a review from sujen1412 March 2, 2026 18:01
@sujen1412
Copy link
Collaborator

sujen1412 commented Mar 2, 2026

Can we include an example of how a user would use this using maap-py ?
The example could be in the function doc string in maap-py and a notebook on read the docs

@riverma
Copy link
Contributor

riverma commented Mar 2, 2026

@bsatoriu - check out my message on Slack for some automation that could help with @sujen1412 docs request.

@sonarqubecloud
Copy link

sonarqubecloud bot commented Mar 5, 2026

@bsatoriu bsatoriu merged commit 03a7e6c into main Mar 5, 2026
6 checks passed
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.

4 participants