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

Unified Diff: tokenserver/api/minter/v1/token_minter.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 | « tokenserver/api/minter/v1/pb.discovery.go ('k') | tokenserver/api/minter/v1/token_minter.pb.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tokenserver/api/minter/v1/token_minter.proto
diff --git a/tokenserver/api/minter/v1/token_minter.proto b/tokenserver/api/minter/v1/token_minter.proto
index 583da2f6afdc7dab5420799bc39d45491e5b750f..9ae6a534125e914dddb0d6b96483210062b307df 100644
--- a/tokenserver/api/minter/v1/token_minter.proto
+++ b/tokenserver/api/minter/v1/token_minter.proto
@@ -208,8 +208,9 @@ message LuciMachineToken {
message MintDelegationTokenRequest {
// Identity whose authority is delegated.
//
- // A string of the form "user:<email>". The token server will check its ACLs
- // to make sure the caller is authorized to impersonate this identity.
+ // A string of the form "user:<email>" or a special token "REQUESTOR" that
+ // means to delegate caller's own identity. The token server will check its
+ // ACLs to make sure the caller is authorized to impersonate this identity.
//
// Required.
string delegated_identity = 1;
@@ -222,7 +223,9 @@ message MintDelegationTokenRequest {
// Who will be able to use the new token.
//
// Each item can be an identity string (e.g. "user:<email>"), a "group:<name>"
- // string, or special "*" string which means "Any bearer can use the token".
+ // string, special "*" string which means "Any bearer can use the token", or
+ // "REQUESTOR" string which means "Whoever is making this call can use the
+ // token".
//
// This is semantically is a set, the order of elements doesn't matter.
//
« no previous file with comments | « tokenserver/api/minter/v1/pb.discovery.go ('k') | tokenserver/api/minter/v1/token_minter.pb.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698