Fastly · Schema
AutomationToken
An automation token used by non-human clients such as CI/CD pipelines and build systems to authenticate requests to the Fastly API.
CDNEdge CloudEdge ComputeWebAssemblySecurityAIObservabilityAsyncAPIStreamingWebhooksLogging
Properties
| Name | Type | Description |
|---|---|---|
| id | string | The alphanumeric string identifying the automation token. |
| name | string | The name of the automation token. |
| customer_id | string | The alphanumeric string identifying the customer. |
| role | string | The role assigned to the automation token. |
| scope | string | A space-delimited list of authorization scopes. |
| services | array | A list of service IDs the token is scoped to. |
| ip | string | The IP address of the client that last used the token. |
| last_used_at | string | The date and time the token was last used. |
| expires_at | string | The date and time the token expires. |
| created_at | string | The date and time the token was created. |
| sudo_expires_at | string | The date and time the sudo mode expires. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/AutomationToken",
"title": "AutomationToken",
"type": "object",
"description": "An automation token used by non-human clients such as CI/CD pipelines and build systems to authenticate requests to the Fastly API.",
"properties": {
"id": {
"type": "string",
"description": "The alphanumeric string identifying the automation token."
},
"name": {
"type": "string",
"description": "The name of the automation token."
},
"customer_id": {
"type": "string",
"description": "The alphanumeric string identifying the customer."
},
"role": {
"type": "string",
"description": "The role assigned to the automation token.",
"enum": [
"billing",
"engineer",
"user"
]
},
"scope": {
"type": "string",
"description": "A space-delimited list of authorization scopes."
},
"services": {
"type": "array",
"description": "A list of service IDs the token is scoped to.",
"items": {
"type": "string"
}
},
"ip": {
"type": "string",
"description": "The IP address of the client that last used the token."
},
"last_used_at": {
"type": "string",
"format": "date-time",
"description": "The date and time the token was last used."
},
"expires_at": {
"type": "string",
"format": "date-time",
"nullable": true,
"description": "The date and time the token expires."
},
"created_at": {
"type": "string",
"format": "date-time",
"description": "The date and time the token was created."
},
"sudo_expires_at": {
"type": "string",
"format": "date-time",
"nullable": true,
"description": "The date and time the sudo mode expires."
}
}
}