Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Unified Diff: tokenserver/api/admin/v1/admin.proto

Issue 2413683004: token-server: Delegation config import, validation and evaluation. (Closed)
Patch Set: also check validity_duration Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « server/auth/authtest/state.go ('k') | tokenserver/api/admin/v1/admin.pb.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tokenserver/api/admin/v1/admin.proto
diff --git a/tokenserver/api/admin/v1/admin.proto b/tokenserver/api/admin/v1/admin.proto
index 12a10d770a191e9ec12235b7914fecf7f237e683..1acdf771da12a7d10d63a05c0d55afaa21a1fb03 100644
--- a/tokenserver/api/admin/v1/admin.proto
+++ b/tokenserver/api/admin/v1/admin.proto
@@ -15,11 +15,20 @@ import "github.com/luci/luci-go/tokenserver/api/machine_token.proto";
service Admin {
// ImportCAConfigs makes the server read CA configs from luci-config.
//
+ // This reads 'tokenserver.cfg' file.
+ //
// Note that regularly configs are read in background each 5 min.
// ImportCAConfigs can be used to force config reread immediately. It will
// block until the configs are read.
rpc ImportCAConfigs(google.protobuf.Empty) returns (ImportedConfigs);
+ // ImportDelegationConfigs makes the server read 'delegation.cfg' config.
+ //
+ // Note that regularly configs are read in background each 5 min.
+ // ImportDelegationConfigs can be used to force config reread immediately. It
+ // will block until the configs are read.
+ rpc ImportDelegationConfigs(google.protobuf.Empty) returns (ImportedConfigs);
+
// InspectMachineToken decodes a machine token and verifies it is valid.
//
// It verifies the token was signed by a private key of the token server and
« no previous file with comments | « server/auth/authtest/state.go ('k') | tokenserver/api/admin/v1/admin.pb.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698