github.com/microsoft/moc@v0.17.1/rpc/nodeagent/security/identity/moc_nodeagent_identity.proto (about) 1 // Copyright (c) Microsoft Corporation. 2 // Licensed under the Apache v2.0 license. 3 4 syntax = "proto3"; 5 option go_package = "github.com/microsoft/moc/rpc/nodeagent/security"; 6 package moc.nodeagent.security; 7 8 import "google/protobuf/wrappers.proto"; 9 import "moc_common_common.proto"; 10 11 message IdentityRequest { 12 repeated Identity Identitys = 1; 13 Operation OperationType = 2; 14 } 15 16 message IdentityResponse { 17 repeated Identity Identitys = 1; 18 google.protobuf.BoolValue Result = 2; 19 string Error = 3; 20 } 21 22 message Identity { 23 string name = 1; 24 string id = 2; 25 string resourceGroup = 3; 26 string password = 4 [(sensitive) = true]; 27 string token = 5 [(sensitive) = true]; 28 string certificate = 6 [(sensitive) = true]; 29 Status status = 7; 30 Entity entity = 8; 31 Tags tags = 9; 32 int64 tokenExpiry = 13; 33 ClientType clientType = 14; 34 } 35 36 service IdentityAgent { 37 rpc Invoke(IdentityRequest) returns (IdentityResponse) {} 38 }