Get service account token and set its TTL
Changed onpost/tokens/{saNme}
Request
- Base URL127.0.0.1:5555 (relative, and the document was published on a file host, not at the API’s origin)
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
saNmestring required
Service account name
Request body
Response
Expected response to a valid request
Example response
[
{
"data": {
"ca.crt": "example-ca-cer-base64",
"namespace": "ZGVmYXVsdA==",
"token": "example-k8s-sa-token-base64"
},
"name": "janedoe-example-com-token-m4gbj"
}
]Changes
- info
the endpoint scheme security
idTokenwas added to the API - info
added the non-success response with the status
- info
added the non-success response with the status
- info