forked from yannh/kubernetes-json-schema
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtokenrequestspec-authentication-v1.json
35 lines (35 loc) · 1.56 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
{
"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 identitfy 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": {
"$ref": "_definitions.json#/definitions/io.k8s.api.authentication.v1.BoundObjectReference",
"description": "BoundObjectRef is a reference to an object that the token will be bound to. The token will only be valid for as long as the bound object exists. NOTE: The API server's TokenReview endpoint will validate the BoundObjectRef, but other audiences may not. Keep ExpirationSeconds small if you want prompt revocation."
},
"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",
"$schema": "http://json-schema.org/schema#"
}