github.com/microsoft/moc@v0.17.1/rpc/nodeagent/security/keyvault/moc_nodeagent_keyvault.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 import "moc_nodeagent_secret.proto"; 11 12 message KeyVaultRequest { 13 repeated KeyVault KeyVaults = 1; 14 Operation OperationType = 2; 15 } 16 17 message KeyVaultResponse { 18 repeated KeyVault KeyVaults = 1; 19 google.protobuf.BoolValue Result = 2; 20 string Error = 3; 21 } 22 23 message KeyVault { 24 string name = 1; 25 string id = 2; 26 repeated Secret Secrets = 3; 27 string groupName = 4; 28 Status status = 5; 29 Entity entity = 6; 30 Tags tags = 7; 31 } 32 33 service KeyVaultAgent { 34 rpc Invoke(KeyVaultRequest) returns (KeyVaultResponse) {} 35 }