Skip to content

RPC GetFileSystemSecurityToken supports grant table-level STS token #752

Description

@wuchong

Search before asking

  • I searched in the issues and found nothing similar.

Motivation

Currently, RPC GetFileSystemSecurityToken is a cluster level operation that grand user a STS temporary token for all table files on remote storage. There is a big security risk on this. And we should support table-level STS token.

Solution

Add repeated PbTablePath tables = 1; in GetFileSystemSecurityTokenRequest. For each given table, check its ACL to ensure that the requesting user has read permission. Only after the ACL check succeeds, grant STS permission for the corresponding paths on remote storage (see how to grant directory permission for OSS, link).

Anything else?

No response

Willingness to contribute

  • I'm willing to submit a PR!

Activity

  1. added this to the v0.7 milestone on Apr 16, 2025
  2. wuchong commented on Apr 16, 2025

    @wuchong
    MemberAuthor
  3. modified the milestones: v0.7, v0.8 on Jun 18, 2025
  4. modified the milestones: v0.8, v0.9 on Oct 21, 2025
  5. modified the milestones: v0.9, v1.0 on Feb 14, 2026
  6. modified the milestones: v1.0, v1.1 on Sep 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions