diff options
| author | Chris Lu <chrislusf@users.noreply.github.com> | 2020-02-17 12:53:30 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-02-17 12:53:30 -0800 |
| commit | 0a57db702614ec38ecd3032ee9ab8f50ab5d80e9 (patch) | |
| tree | b5aa5f41e6d4502f9843bff98cb140ee0f24a81d /weed/pb/iam.proto | |
| parent | 9232d3ac68a8d23a7f67ec66d8e227c362431507 (diff) | |
| parent | 4cdde5f569419535b4ded8b0e54d18ead13a6458 (diff) | |
| download | seaweedfs-0a57db702614ec38ecd3032ee9ab8f50ab5d80e9.tar.xz seaweedfs-0a57db702614ec38ecd3032ee9ab8f50ab5d80e9.zip | |
Merge pull request #1200 from chrislusf/add_s3_acl
Add s3 ACL
Diffstat (limited to 'weed/pb/iam.proto')
| -rw-r--r-- | weed/pb/iam.proto | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/weed/pb/iam.proto b/weed/pb/iam.proto new file mode 100644 index 000000000..2eef22dd9 --- /dev/null +++ b/weed/pb/iam.proto @@ -0,0 +1,50 @@ +syntax = "proto3"; + +package iam_pb; + +option java_package = "seaweedfs.client"; +option java_outer_classname = "IamProto"; + +////////////////////////////////////////////////// + +service SeaweedIdentityAccessManagement { + +} + +////////////////////////////////////////////////// + +message S3ApiConfiguration { + repeated Identity identities = 1; +} + +message Identity { + string name = 1; + repeated Credential credentials = 2; + repeated string actions = 3; +} + +message Credential { + string access_key = 1; + string secret_key = 2; + // uint64 expiration = 3; + // bool is_disabled = 4; +} + +/* +message Policy { + repeated Statement statements = 1; +} + +message Statement { + repeated Action action = 1; + repeated Resource resource = 2; +} + +message Action { + string action = 1; +} +message Resource { + string bucket = 1; + // string path = 2; +} +*/
\ No newline at end of file |
