github.com/microsoft/moc@v0.17.1/rpc/nodeagent/security/keyvault/secret/moc_nodeagent_secret.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 SecretRequest { 12 repeated Secret Secrets = 1; 13 Operation OperationType = 2; 14 } 15 16 message SecretResponse { 17 repeated Secret Secrets = 1; 18 google.protobuf.BoolValue Result = 2; 19 string Error = 3; 20 } 21 22 message Secret { 23 string name = 1; 24 string id = 2; 25 string filename = 3; 26 string value = 4 [(sensitive) = true]; 27 string vaultId = 5; 28 string vaultName = 6; 29 string groupName = 7; 30 Status status = 8; 31 Entity entity = 9; 32 Tags tags = 10; 33 } 34 35 service SecretAgent { 36 rpc Invoke(SecretRequest) returns (SecretResponse) {} 37 }