...
1// DescribeDelegationTokenRequest is a request to describe delegation tokens.
2DescribeDelegationTokenRequest => key 41, max version 3, flexible v2+
3 // Owners contains owners to describe delegation tokens for, or null for all.
4 // If non-null, only tokens created from a matching principal type, name
5 // combination are printed.
6 Owners: nullable[=>]
7 // PrincipalType is a type to match to describe delegation tokens created
8 // with this principal. This would be "User" with the simple authorizer.
9 PrincipalType: string
10 // PrincipalName is the name to match to describe delegation tokens created
11 // with this principal.
12 PrincipalName: string
13
14// DescribeDelegationTokenResponsee is a response to a DescribeDelegationTokenRequest.
15DescribeDelegationTokenResponse =>
16 // ErrorCode is any error that caused the request to fail.
17 ErrorCode: int16
18 // TokenDetails shows information about each token created from any principal
19 // in the request.
20 TokenDetails: [=>]
21 // PrincipalType is the principal type of who created this token.
22 PrincipalType: string
23 // PrincipalName is the principal name of who created this token.
24 PrincipalName: string
25 // The principal type of the requester of the token.
26 TokenRequesterPrincipalType: string // v3+
27 // The principal name of the requester token.
28 TokenRequesterPrincipalName: string // v3+
29 // IssueTimestamp is the millisecond timestamp of when this token was issued.
30 IssueTimestamp: int64
31 // ExpiryTimestamp is the millisecond timestamp of when this token will expire.
32 ExpiryTimestamp: int64
33 // MaxTimestamp is the millisecond timestamp past which whis token cannot
34 // be renewed.
35 MaxTimestamp: int64
36 // TokenID is the ID (scram username) of this token.
37 TokenID: string
38 // HMAC is the password of this token.
39 HMAC: bytes
40 // Renewers is a list of users that can renew this token.
41 Renewers: [=>]
42 PrincipalType: string
43 PrincipalName: string
44 ThrottleMillis(1)
View as plain text