ReferenceAPIAccess Service
Create runner token
The response has the token itself, which the API never returns again.
POST
The response has the token itself, which the API never returns again.
dataPlane*stringThe dataPlane id.
application/json- body
parent?stringdataPlanes/{data_plane}
OK
application/json- response
token?A data plane's runners call DataPlaneService with it, as Authorization: Bearer TOKEN. It serves only that data plane's work.
secret?stringcurl -X POST 'http://localhost:8080/v1/dataPlanes/string/tokens' \ -H 'Content-Type: application/json' \ -d '{}'Example Response
{ "token": { "name": "string", "prefix": "string", "createTime": "2019-08-24T14:15:22Z", "lastUsedTime": "2019-08-24T14:15:22Z" }, "secret": "string"}