aboutsummaryrefslogtreecommitdiff
path: root/weed/pb/iam.proto
diff options
context:
space:
mode:
Diffstat (limited to 'weed/pb/iam.proto')
-rw-r--r--weed/pb/iam.proto9
1 files changed, 8 insertions, 1 deletions
diff --git a/weed/pb/iam.proto b/weed/pb/iam.proto
index 1a6027292..99bb65ef2 100644
--- a/weed/pb/iam.proto
+++ b/weed/pb/iam.proto
@@ -16,13 +16,14 @@ service SeaweedIdentityAccessManagement {
message S3ApiConfiguration {
repeated Identity identities = 1;
+ repeated Account accounts = 2;
}
message Identity {
string name = 1;
repeated Credential credentials = 2;
repeated string actions = 3;
- string accountId = 4;
+ Account account = 4;
}
message Credential {
@@ -32,6 +33,12 @@ message Credential {
// bool is_disabled = 4;
}
+message Account {
+ string id = 1;
+ string display_name = 2;
+ string email_address = 3;
+}
+
/*
message Policy {
repeated Statement statements = 1;