Skip to content

RPC GetFileSystemSecurityToken supports grant table-level STS token #752

@wuchong

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, and grand STS permission for the given 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!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions