forked from yannh/kubernetes-json-schema
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtokenrequestspec-authentication-v1.json
70 lines (70 loc) · 2.02 KB
/
tokenrequestspec-authentication-v1.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
{
"description": "TokenRequestSpec contains client provided parameters of a token request.",
"properties": {
"audiences": {
"description": "Audiences are the intendend audiences of the token. A recipient of a token must identify themself with an identifier in the list of audiences of the token, and otherwise should reject the token. A token issued for multiple audiences may be used to authenticate against any of the audiences listed but implies a high degree of trust between the target audiences.",
"items": {
"type": [
"string",
"null"
]
},
"type": [
"array",
"null"
]
},
"boundObjectRef": {
"description": "BoundObjectReference is a reference to an object that a token is bound to.",
"properties": {
"apiVersion": {
"description": "API version of the referent.",
"type": [
"string",
"null"
]
},
"kind": {
"description": "Kind of the referent. Valid kinds are 'Pod' and 'Secret'.",
"type": [
"string",
"null"
]
},
"name": {
"description": "Name of the referent.",
"type": [
"string",
"null"
]
},
"uid": {
"description": "UID of the referent.",
"type": [
"string",
"null"
]
}
},
"type": [
"object",
"null"
],
"additionalProperties": false
},
"expirationSeconds": {
"description": "ExpirationSeconds is the requested duration of validity of the request. The token issuer may return a token with a different validity duration so a client needs to check the 'expiration' field in a response.",
"format": "int64",
"type": [
"integer",
"null"
]
}
},
"required": [
"audiences"
],
"type": "object",
"additionalProperties": false,
"$schema": "http://json-schema.org/schema#"
}