Skip to content

User buckets: Reduce scope of the Principal in user bucket policies #3108

Description

@jhkennedy

Currently, we specify the root account as the Principle in the permissions we tell users to apply to their buckets. This is broader scoped than is necessary, and would let anyone with access to the account use those permissions.

Technically, we should only need to grant permissions to these specific roles:

However, exposing the arns for these roles to the API (likely as env vars) is a bit challenging and it does add a potential permissions gotcha when developing HyP3 that we're not currently set up to catch.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions