github.com/microsoft/moc@v0.17.1/rpc/nodeagent/admin/credentialmonitor/moc_nodeagent_credentialmonitor.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/admin"; 6 package moc.nodeagent.admin; 7 import "moc_common_common.proto"; 8 9 enum CertificateStatus { 10 Single = 0; 11 Overlap = 1; 12 } 13 14 message CredentialMonitorRequest { 15 CredentialMonitor CredentialMonitor = 1; 16 } 17 18 message CredentialMonitorResponse { 19 CredentialMonitor CredentialMonitor = 1; 20 string Error = 2; 21 } 22 23 message CredentialMonitor { 24 string certificate = 1 [(sensitive) = true]; 25 CertificateStatus status = 2; 26 } 27 28 service CredentialMonitorAgent { 29 rpc Get(CredentialMonitorRequest) returns (CredentialMonitorResponse) {} 30 }